我遇到了在数字海洋(ubuntu 64)液滴上部署Mup(meteor-up)的问题。我似乎无法弄清楚出了什么问题。我可以在本地运行我的应用程序。以下是我mup deploy
任何有关如何修复的提示都会很棒。我正在运行最新的流星版本(meteor@1.1.4)。
Building Started: .
Bundling Error: code=1, error:
-------------------STDOUT-------------------
-------------------STDERR-------------------
r-tool/.1.0.38.1v7ejbf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:317:26)
at /Users/dm/.meteor/packages/meteor-tool/.1.0.38.1v7ejbf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:536:24
at runWithEnvironment (/Users/dm/.meteor/packages/meteor-tool/.1.0.38.1v7ejbf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:136:21)
at /Users/dm/.meteor/packages/meteor-tool/.1.0.38.1v7ejbf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:143:14
at /Users/dm/.meteor/packages/meteor-tool/.1.0.38.1v7ejbf++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:549:11
/usr/local/lib/node_modules/mup/lib/build.sh: line 42: cd: /tmp/b47bd338-c403-4a29-b060-e35a51ae39be: No such file or directory
tar: bundle: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
mup log output:
[104.236.100.163] error: Cannot start forever
error: script /opt/myapp/app/main.js does not exist.
error: Cannot start forever
error: script /opt/myapp/app/main.js does not exist.
error: Cannot start forever
error: script /opt/myapp/app/main.js does not exist.
error: Cannot start forever
error: script /opt/myapp/app/main.js does not exist.
error: Cannot start forever
error: script /opt/myapp/app/main.js does not exist.
答案 0 :(得分:0)
通过创建一个新项目并单独添加组件,我能够找到流星构建错误的原因。打破构建的文件是第三方插件,我完全注释掉了,因为它在不使用时正在执行。删除它就可以了。