{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/287","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/287/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/287/events","html_url":"https://github.com/gruntjs/grunt-contrib-uglify/issues/287","id":55175458,"number":287,"title":"Node.js 0.11.15 `compress: true` error","user":{"login":"XhmikosR","id":349621,"avatar_url":"https://avatars.githubusercontent.com/u/349621?v=3","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-22T16:36:20Z","updated_at":"2015-03-04T22:25:21Z","closed_at":"2015-02-19T08:34:25Z","body":"```\r\nRunning \"uglify:minify\" (uglify) task\r\n[TypeError: Cannot assign to read only property 'warnings' of true]\r\n>> Uglifying source dist/htmlminifier.js failed.\r\nWarning: Uglification failed.\r\nCannot assign to read only property 'warnings' of true.\r\n Use --force to continue.\r\n```\r\n\r\n```js\r\nuglify: {\r\n  options: {\r\n    banner: '<%= banner %>',\r\n    compress: true,\r\n    mangle: true,\r\n    preserveComments: false,\r\n    report: 'min'\r\n  },\r\n  minify: {\r\n    files: {\r\n      'dist/htmlminifier.min.js': '<%= concat.dist.dest %>'\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nIf I comment out `compress: true` or change it to `compress: { drop_console: true }` everything goes well.\r\n\r\nThis only happens with Node.js 0.11.15 regardless of OS: https://travis-ci.org/kangax/html-minifier/jobs/47934702"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/comments/77263625","html_url":"https://github.com/gruntjs/grunt-contrib-uglify/issues/287#issuecomment-77263625","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-uglify/issues/287","id":77263625,"user":{"login":"tremby","id":199635,"avatar_url":"https://avatars.githubusercontent.com/u/199635?v=3","gravatar_id":"","url":"https://api.github.com/users/tremby","html_url":"https://github.com/tremby","followers_url":"https://api.github.com/users/tremby/followers","following_url":"https://api.github.com/users/tremby/following{/other_user}","gists_url":"https://api.github.com/users/tremby/gists{/gist_id}","starred_url":"https://api.github.com/users/tremby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tremby/subscriptions","organizations_url":"https://api.github.com/users/tremby/orgs","repos_url":"https://api.github.com/users/tremby/repos","events_url":"https://api.github.com/users/tremby/events{/privacy}","received_events_url":"https://api.github.com/users/tremby/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T22:25:21Z","updated_at":"2015-03-04T22:25:21Z","body":"D'oh -- you're right. I had somehow updated to 0.7.0 (where the bug remained) rather than 0.8.0."}}