当我尝试捆绑我的 Meteor 应用程序时,我得到:
$ meteor bundle app.tgz
Errors prevented bundling:
Exception while bundling application:
Error
at new JS_Parse_Error (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:263:18)
at js_error (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:271:11)
at croak (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:733:9)
at token_error (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:740:9)
at unexpected (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:746:9)
at /usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:1124:9
at maybe_unary (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:1209:19)
at expr_ops (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:1236:24)
at maybe_conditional (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:1240:20)
at maybe_assign (/usr/local/meteor/lib/node_modules/uglify-js/lib/parse-js.js:1264:20)
该应用程序在本地运行良好,我无法从错误消息中理解错误所在。甚至不确定从哪个文件开始寻找问题?