Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-waf: command not found #14

Open
Nedudi opened this issue Sep 7, 2015 · 4 comments
Open

node-waf: command not found #14

Nedudi opened this issue Sep 7, 2015 · 4 comments

Comments

@Nedudi
Copy link

Nedudi commented Sep 7, 2015

Hello, installing

npm install zlib

I have error

~/work/kuku/app • npm install zlib --save                          19:40  dima@Dmitrys-MacBook-Pro
-
> zlib@1.0.5 preinstall /Users/dima/work/kuku/app/node_modules/zlib
> node-waf clean || true; node-waf configure build

sh: node-waf: command not found
sh: node-waf: command not found
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "zlib" "--save"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! zlib@1.0.5 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the zlib@1.0.5 preinstall script 'node-waf clean || true; node-waf configure build'.
npm ERR! This is most likely a problem with the zlib package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls zlib
npm ERR! There is likely additional logging output above.

OSx

@pgasiorowski
Copy link

Same here

npm ERR! Linux 3.13.0-63-generic
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

@pgasiorowski
Copy link

Later on I figured zlib is now build into node.js and this extension isn't maintained any more.

@rujmah
Copy link

rujmah commented Jan 23, 2016

Thanks, @WooDzu. Forehead slap for me - maybe we should put a Rick Ashley gif here too :~)

@xcong4328
Copy link

I got the same issue.
Because zlib is a module that's already included with Node.js.
It doesn't need to be installed separately via npm. ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants