Closed
Description
I recently updated to node 0.12.1, npm 2.7.3 and right now I’m getting the following error with grunt-contrib-uglify version 0.8.0:
Running "uglify:min" (uglify) task
[Warnings: Cannot assign to read only property 'subarray' of main.js' content]
Uglifying source static/js/main.js failed.
Warning: Uglification failed.
Cannot assign to read only property 'subarray' of main.js' content.
Use --force to continue.
Aborted due to warnings.
Happens with any .js file, so it seems to be a bug either with nodejs v0.12.1 or with this uglify task. Any ideas?
here is my gruntfile.js configuration:
uglify: {
options: {
banner: '<%= banner %>'
},
js: {
src : '<%= concat.js.dest %>',
dest : 'release/<%= pkg.name %>.min.js'
}
}
Metadata
Metadata
Assignees
Labels
No labels