Base solution for your next web application
Open Closed

TypeError: uglify is not a function #12342


User avatar
0
ncvitanovic created

Running npm run build on both Mvc and Public priject I am getting:

Running TypeError: uglify is not a function
at createScriptBundle (file:///.Web.Mvc/gulpfile.mjs:153:30)
at createScriptBundles (file:///
.Web.Mvc/gulpfile.mjs:141:20)
at build (file:///__.Mvc/gulpfile.mjs:263:23)
at taskWrapper (Web.Mvc\node_modules\undertaker\lib\set-task.js:13:15)
at bound (node:domain:432:15)
at runBound (node:domain:443:12)
at asyncRunner (
.Web.Mvc\node_modules\async-done\index.js:55:18)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)


1 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ncvitanovic

    This problem has been fixed with this issue. We are now using the terser and gulp-terser packages instead of the gulp-uglify-es package.