【发布时间】:2017-03-23 14:16:09
【问题描述】:
推送到主 Heroku 服务器流星时出现以下错误
Building Meteor app with ROOT_URL: http://****.herokuapp.com
remote: Errors prevented bundling:
remote: While minifying app code:
remote: packages/minifyStdJS_plugin.js:113:28: UglifyJS minification error:
remote:
remote: SyntaxError: Unexpected token name «i», expected punc «;» at
remote: node_modules/joi/lib/index.js line 185
有人可以帮忙吗?
【问题讨论】:
-
您的
joi包文件index.js第 185 行中似乎存在 javascript 语法错误。 -
是的,怎么解决?
-
通过修改JS代码修复语法错误。