0

I'm having an issue deploying with Mup (meteor-up) on a digital ocean (ubuntu 64) droplet. I can't seem to figure out what is going wrong. I am able to run my app fine locally. Here is the error message after I mup deploy

Any hints as to how to fix would be great. I am running the latest meteor release (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.
4

1 回答 1

0

通过创建一个新项目并单独添加回组件,我能够找到流星构建错误的原因。破坏构建的文件是我完全注释掉的第 3 方插件,因为它在不使用时正在执行。删除它就可以了。

于 2015-01-02T04:27:58.473 回答