在 digitalocean 上使用 mup 部署时出现 Meteor-tool 错误
Meteor-tool error deploying with mup on digitalocean
我在数字海洋 (ubuntu 64) droplet 上使用 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 日志输出:
[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.
通过创建一个新项目并单独添加回组件,我能够找到流星构建错误的原因。破坏构建的文件是一个 3rd 方插件,我已经完全注释掉了它,因为它在不使用时被执行。删除它就成功了。
我在数字海洋 (ubuntu 64) droplet 上使用 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 日志输出:
[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.
通过创建一个新项目并单独添加回组件,我能够找到流星构建错误的原因。破坏构建的文件是一个 3rd 方插件,我已经完全注释掉了它,因为它在不使用时被执行。删除它就成功了。