Search code examples
meteornode-fibers

Meteor mup deploy fibers error


i get the following error when i try to mup deploy

Building Started: /Users/../.......

Started TaskList: Deploy app 'meteor' (linux)

[195.30.108.227] - Uploading bundle

[195.30.108.227] - Uploading bundle: SUCCESS

[195.30.108.227] - Setting up Environment Variables

[195.30.108.227] - Setting up Environment Variables: SUCCESS

[195.30.108.227] - Invoking deployment process

[195.30.108.227] x Invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
les/fibers
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/opt/nodejs/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
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 information on how to open an issue for this project with:
npm ERR!     npm bugs fibers
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
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/meteor/tmp/bundle/programs/server/npm-debug.log
-----------------------------------STDOUT-----------------------------------
 > ./bcrypt: npm install due to binary npm modules
[email protected] node_modules/bindings

[email protected] node_modules/nodeunit
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

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

make: Verzeichnis »/opt/meteor/tmp/bundle/programs/server/node_modules/fibers/build« wird betreten
  CXX(target) Release/obj.target/fibers/src/fibers.o
make: Verzeichnis »/opt/meteor/tmp/bundle/programs/server/node_modules/fibers/build« wird verlassen
----------------------------------------------------------------------------

Solution

  • You are using node version v4.4.7, but meteor build run on v0.10.40 or lower.

    You can use nvm for change your node version.