我在将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
----------------------------------------------------------------------------
请有人帮我解决这个问题
答案 0 :(得分:0)
在mup setup
mup deploy
如果您已经这样做,请尝试重新检查您用于开发的节点版本,以及尝试在服务器上安装哪个mup。例如,您可能需要在mup.json
try "nodeVersion": "0.10.40"
中指定另一个。
答案 1 :(得分:0)
我使用mupx(mup的开发版本)作为对抗mup,我能够毫不费力地上传我的项目。