arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 394 forks source link

mup deploy failed #714

Open barkbaek opened 9 years ago

barkbaek commented 9 years ago

x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
b/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /opt/testhi/tmp/bundle/programs/server/node_modules/fibers
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
Build failed
npm ERR! Linux 3.13.0-57-generic
npm ERR! argv "/opt/nodejs/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.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/testhi/tmp/bundle/programs/server/npm-debug.log
-----------------------------------STDOUT-----------------------------------
 > ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings

nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (inherits@2.0.1, buffer-equal@0.0.1, deep-equal@1.0.1, slide@1.1.6, yamlish@0.0.7, nopt@3.0.4, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)

> fibers@1.0.5 install /opt/testhi/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

make: Entering directory `/opt/testhi/tmp/bundle/programs/server/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
make: Leaving directory `/opt/testhi/tmp/bundle/programs/server/node_modules/fibers/build'

I got the above error when I attempted "mup deploy". My "mup.json" file is configured as below. (I just deleted "host" and "password" for now. ) I'm using Node.js v 4.1.1 and Meteor 1.2.0.2 . And, I'm going to use local MongoDB, so I checked "setupMongo" as true. And I'm trying to deploy on D.O. What should I do? please help me !

{ // Server authentication info "servers": [ { "host": " ", "username": "root", "password": " "

}

],

// Install MongoDB in the server, does not destroy local MongoDB on future setup "setupMongo": true,

// WARNING: Node.js is required! Only skip if you already have Node.js installed on server. "setupNode": true,

// WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number. "nodeVersion": "4.1.1",

// Install PhantomJS in the server "setupPhantom": true,

// Show a progress bar during the upload of the bundle to the server. // Might cause an error in some rare cases if set to true, for instance in Shippable CI "enableUploadProgressBar": true,

// Application name (No spaces) "appName": "testhi",

// Location of app (local directory) "app": ".",

// Configure environment "env": { "ROOT_URL": "http://testhi.com" },

// Meteor Up checks if the app comes online just after the deployment // before mup checks that, it will wait for no. of seconds configured below "deployCheckWaitTime": 30 }

lucfranken commented 9 years ago

As here: https://forums.meteor.com/t/mup-deploy-failed/11985 noted change the node version to 0.10.40 for meteor 1.2