2016-01-24 91 views
2

我在將流星項目部署到我的服務器時失敗。我正在使用mup,並且一直失敗。我試圖按照我在網上找到的所有說明取得成功。Ubuntu 14.04服務器上的Meteor-Up部署失敗

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 [email protected] No description 
npm WARN package.json [email protected] No repository field. 
npm WARN package.json [email protected] 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! [email protected] install: `node ./build.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] 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----------------------------------- 

> [email protected] install /opt/app/tmp/bundle/programs/server/node_modules/fibers 
> node ./build.js 

---------------------------------------------------------------------------- 

請有人可以幫我這個

回答

0

mup setup你做mup deploy

之前,如果你這樣做,嘗試雙檢節點版本已用於開發,哪一個把MUP試圖在服務器上安裝。例如,您可能需要在mup.json嘗試"nodeVersion": "0.10.40"中指定另一個。

+0

我運行mup安裝程序沒有問題,我試過將nodeVersion更改爲適當的構建版本。我也嘗試增加部署時間超過100秒。它仍然失敗。 – UncleT

+0

在https://github.com/arunoda/meteor-up/issues/714上報告了類似問題,嘗試將節點版本更改爲10.40,然後再次運行mup setup。如果這是你如何做的,那麼我不知道還有什麼可以做 –

+0

我做到了(將節點版本更改爲10.40),運行安裝程序並再次部署,但仍然失敗。儘管這些錯誤看起來有點不同 – UncleT

0

我用mupx(開發版本的mup)與mup相比,我能夠毫無麻煩地上傳我的項目。