donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

i got a error “ERR! Error: spawn ENOMEM” while npm install #32

Closed guang384 closed 12 years ago

guang384 commented 12 years ago

[root@guang384 ~]# npm install html2jade -g npm http GET https://registry.npmjs.org/html2jade npm http 304 https://registry.npmjs.org/html2jade npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/jsdom npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/jsdom npm http GET https://registry.npmjs.org/htmlparser npm http GET https://registry.npmjs.org/cssom npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/contextify npm http 304 https://registry.npmjs.org/htmlparser npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/cssom npm http 304 https://registry.npmjs.org/contextify npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings

contextify@0.1.3 install /usr/local/lib/node_modules/html2jade/node_modules/jsdom/node_modules/contextify node-gyp rebuild

info it worked if it ends with ok info downloading: http://nodejs.org/dist/v0.6.17/node-v0.6.17.tar.gz ERR! UNCAUGHT EXCEPTION: ERR! Error: spawn ENOMEM at errnoException (child_process.js:483:11) at ChildProcess.spawn (child_process.js:446:11) at Object.spawn (child_process.js:342:9) at Gyp.spawn (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:124:26) at runGypAddon (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:216:18) at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:94:5) ERR! This is a bug in node-gyp. Please open an Issue: ERR! https://github.com/TooTallNate/node-gyp/issues ERR! not ok npm WARN optional dependency failed, continuing contextify@0.1.3 /usr/local/bin/html2jade -> /usr/local/lib/node_modules/html2jade/bin/html2jade html2jade@0.1.17 /usr/local/lib/node_modules/html2jade ├── commander@0.6.0 └── jsdom@0.2.14 (cssom@0.2.3, request@2.9.202, htmlparser@1.7.6)

donpark commented 12 years ago

@guang384, I think this is either node-gyp or contextify issue and not html2jade issue.

ERR! This is a bug in node-gyp. Please open an Issue:
ERR! https://github.com/TooTallNate/node-gyp/issues

I can confirm that html2jade installs successfully using latest node-gyp (0.4.3) and node (0.6.18) on Mac.

Closing for now. Please do report again if this issue turns out to html2jade issue.