2014-07-09 140 views
5

編輯: 在Github回購中的問題。 https://github.com/arunoda/meteor-up/issues/87流星mup部署失敗

我試圖設置流星運行一個流星應用程序。

這裏是我的錯誤,當我運行mup deploy

調用部署過程:失敗

-----------------------------------STDERR----------------------------------- 
    e-gyp/bin/node-gyp.js" "rebuild" 
    gyp ERR! cwd /opt/give/tmp/bundle/programs/server/node_modules/bcrypt 
    gyp ERR! node -v v0.10.28 
    gyp ERR! node-gyp -v v0.13.0 
    gyp ERR! not ok 
    npm ERR! [email protected] install: `node-gyp rebuild` 
    npm ERR! Exit status 1 
    npm ERR! 
    npm ERR! Failed at the [email protected] install script. 
    npm ERR! This is most likely a problem with the bcrypt package, 
    npm ERR! not with npm itself. 
    npm ERR! Tell the author that this fails on your system: 
    npm ERR!  node-gyp rebuild 
    npm ERR! You can get their info via: 
    npm ERR!  npm owner ls bcrypt 
    npm ERR! There is likely additional logging output above. 

    npm ERR! System Linux 3.13.0-24-generic 
    npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "bcrypt" 
    npm ERR! cwd /opt/give/tmp/bundle/programs/server 
    npm ERR! node -v v0.10.28 
    npm ERR! npm -v 1.4.9 
    npm ERR! code ELIFECYCLE 
    npm ERR! 
    npm ERR! Additional logging details can be found in: 
    npm ERR!  /opt/give/tmp/bundle/programs/server/npm-debug.log 
    npm ERR! not ok code 0 
    -----------------------------------STDOUT----------------------------------- 

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

    `linux-x64-v8-3.14` exists; testing 
    Binary is fine; exiting 
    [email protected] node_modules/fibers 

    > [email protected] install /opt/give/tmp/bundle/programs/server/node_modules/bcrypt 
    > node-gyp rebuild 

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

我也跑了mup logs -n 300和得到這個答覆。

error: Cannot start forever 
error: script /opt/give/app/main.js does not exist. 

任何想法我可能在這裏做錯了嗎?

+0

你以前運行過'mup setup'嗎? –

+0

是的,我之前運行過'''mup setup'''。 – JoshJoe

+1

得到這個。 – user592419

回答

3

我將服務器恢復到以前的狀態,重新安裝了mup並將install nodejs設置爲false。我還使用sudo npm install n -gsudo n stable安裝了節點v0.10.29,並且通過mup init,mup setup,mup deploy這次運行。