Convert from obsolete node-waf to node-gyp
If I run this: npm install gd I get this error: sh: 1: node-waf: not found npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127 npm ERR! not ok code 0
It's because node-waf is obsolete, and has been removed from the later versions of node.
I'm on Ubuntu 14.04.1 LTS, 64 bit.
Here's my node version: dpkg -l nodejs Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii nodejs 0.10.25~dfsg amd64 evented I/O for V8 javascript
Please fix the module so that it uses node-gyp instead of node-waf. Thanks!
I suppose you should use node-gd https://www.npmjs.com/package/node-gd instead of this obsolete module.