mishoo/UglifyJS — Issue #282: Error when trying to uglify KnockoutJS 2.0.0
Author: arnesten
Created: 2011-12-21 15:38:13+00:00
State: open

I get an error when I try to uglify the following script:
http://github.com/downloads/SteveSanderson/knockout/knockout-2.0.0.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error
at new JS_Parse_Error (/somedir/src/node_modules/uglify-js/lib/parse-js.js:260:22)
at js_error (/somedir/src/node_modules/uglify-js/lib/parse-js.js:268:15)
at parse_error (/somedir/src/node_modules/uglify-js/lib/parse-js.js:360:17)
at Object.next_token [as input] (/somedir/src/node_modules/uglify-js/lib/parse-js.js:602:17)
at next (/somedir/src/node_modules/uglify-js/lib/parse-js.js:706:37)
at Object.semicolon [as 1] (/somedir/src/node_modules/uglify-js/lib/parse-js.js:749:38)
at prog1 (/somedir/src/node_modules/uglify-js/lib/parse-js.js:1290:28)
at simple_statement (/somedir/src/node_modules/uglify-js/lib/parse-js.js:886:35)
at /somedir/src/node_modules/uglify-js/lib/parse-js.js:802:40
at /somedir/src/node_modules/uglify-js/lib/parse-js.js:1273:32