我在部署meteor项目到我的服务器时遇到了问题。我正在使用mup,但它总是失败。我试着遵循我在网上找到的所有说明,但都没有成功。
Tonys-MacBook-Pro:.deployment tonyj$ mup deploy
Meteor Up: Production Quality Meteor Deployments
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Building Started: ../
Started TaskList: Deploy app 'app' (linux)
[xx.xx.xx.xx] - Uploading bundle
[xx.xx.xx.xx] - Uploading bundle: SUCCESS
[xx.xx.xx.xx] - Setting up Environment Variables
[xx.xx.xx.xx] - Setting up Environment Variables: SUCCESS
[xx.xx.xx.xx] - Invoking deployment process
[xx.xx.xx.xx] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
npm ERR! Linux 3.19.0-47-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! fibers@1.0.5 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fibers@1.0.5 install script 'node ./build.js'.
npm ERR! This is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls fibers
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/app/tmp/bundle/programs/server/npm-debug.log
-----------------------------------STDOUT-----------------------------------
> fibers@1.0.5 install /opt/app/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
----------------------------------------------------------------------------有没有人能帮我一下?
发布于 2016-01-24 20:18:21
在执行mup deploy之前执行mup setup
如果您已经这样做了,请尝试仔细检查您用于开发的节点版本,以及尝试在服务器上安装哪个mup。例如,您可能需要在mup.json中指定另一个try "nodeVersion": "0.10.40"。
发布于 2016-01-26 11:21:00
我使用了mupx ( mup的开发版本)来对抗mup,并且我能够毫不费力地上传我的项目。
https://stackoverflow.com/questions/34974286
复制相似问题