iron-meteor / iron-cli

A scaffolding command line tool for Meteor applications.
640 stars 82 forks source link

Can't install caused by fibers #238

Closed charpeni closed 7 years ago

charpeni commented 8 years ago

I tried to install the latest release (1.5.2), but it fail on Ubuntu 14.04.3 LTS.

I downgraded to 1.5.0 and it works well.

 ~npm install -g iron-meteor

> fibers@1.0.8 install /home/nicolas/.nvm/v0.10.40/lib/node_modules/iron-meteor/node_modules/fibers
> node build.js || nodejs build.js

make: entrant dans le répertoire « /home/nicolas/.nvm/v0.10.40/lib/node_modules/iron-meteor/node_modules/fibers/build »
  CXX(target) Release/obj.target/fibers/src/fibers.o
make: g++: commande introuvable
make: *** [Release/obj.target/fibers/src/fibers.o] Erreur 127
make: quittant le répertoire « /home/nicolas/.nvm/v0.10.40/lib/node_modules/iron-meteor/node_modules/fibers/build »
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/nicolas/.nvm/v0.10.40/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.19.0-43-generic
gyp ERR! command "node" "/home/nicolas/.nvm/v0.10.40/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/nicolas/.nvm/v0.10.40/lib/node_modules/iron-meteor/node_modules/fibers
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 
Build failed
sh: 1: nodejs: not found
npm ERR! fibers@1.0.8 install: `node build.js || nodejs build.js`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the fibers@1.0.8 install script.
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 || nodejs 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! System Linux 3.19.0-43-generic
npm ERR! command "/home/nicolas/.nvm/v0.10.40/bin/node" "/home/nicolas/.nvm/v0.10.40/bin/npm" "install" "-g" "iron-meteor"
npm ERR! cwd /home/nicolas
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
BRyeGmoney commented 8 years ago

I have this same problem with 1.5.1 and 1.5.2 on win64 debug.txt

stivaugoin commented 8 years ago

Same here. Works well in 1.5.0

bryanlimy commented 7 years ago

same problem, on MacOS 10.12.2.

chrisbutler commented 7 years ago

does 1.5.3 work for anyone? @charpeni @BRyeGmoney @stivaugoin @bryanlimy

stivaugoin commented 7 years ago

@chrisbutler 1.5.3 works well on macOS 10.12.2

chrisbutler commented 7 years ago

@stivaugoin can you try updating to 1.5.4 that i just released?

stivaugoin commented 7 years ago

@chrisbutler it works!

chrisbutler commented 7 years ago

@stivaugoin cool, thanks!