DEPRECATED-node-zlib icon indicating copy to clipboard operation
DEPRECATED-node-zlib copied to clipboard

node-waf: command not found

Open Nedudi opened this issue 10 years ago • 4 comments

Hello, installing

npm install zlib

I have error

~/work/kuku/app • npm install zlib --save                          19:40  dima@Dmitrys-MacBook-Pro
-
> [email protected] 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! [email protected] preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] 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

Nedudi avatar Sep 07 '15 16:09 Nedudi

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 avatar Sep 21 '15 11:09 pgasiorowski

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

pgasiorowski avatar Oct 02 '15 06:10 pgasiorowski

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

rujmah avatar Jan 23 '16 17:01 rujmah