express4-bootstrap-starter icon indicating copy to clipboard operation
express4-bootstrap-starter copied to clipboard

[email protected] fails

Open tharrington opened this issue 9 years ago • 3 comments

npm install is failing for me. It looks like there is an issue with node-gyp or the fact that I am using Node 0.12.0. Any recommendations to resolve? Here is the log

$ npm install npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN engine [email protected]: wanted: {"node":"0.10.x"} (current: {"node":"0.12.0","npm":"2.5.1"})

[email protected] install /Users/tyler.harrington/Desktop/express4-bootstrap-starter/node_modules/email-templates/node_modules/juice2/node_modules/jsdom/node_modules/contextify node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead. CXX(target) Release/obj.target/contextify/src/contextify.o ../src/contextify.cc:34:17: error: no member named 'ContextDisposedNotification' in 'v8::V8' v8::V8::ContextDisposedNotification(); ~~~~~~~~^ 1 error generated. make: *** [Release/obj.target/contextify/src/contextify.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12) gyp ERR! System Darwin 14.1.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/tyler.harrington/Desktop/express4-bootstrap-starter/node_modules/email-templates/node_modules/juice2/node_modules/jsdom/node_modules/contextify gyp ERR! node -v v0.12.0 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm ERR! Darwin 14.1.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the contextify package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls contextify npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/tyler.harrington/Desktop/express4-bootstrap-starter/npm-debug.log tylerharrin-ltm:express4-bootstrap-starter tyler.harrington$

tharrington avatar Mar 25 '15 20:03 tharrington

@tharrington i not testing it yet with node 0.12.0

hengkiardo avatar Apr 09 '15 12:04 hengkiardo

it's not working with node > 0.12.0. Install nvm and make: nvm use 0.10.26

romabelka avatar Jun 24 '15 09:06 romabelka

@tharrington @romabelka - I got it working on 0.12.0 by upgrading Mongoose to 4.1.3. I renamed npm-shrinkwrap.json for a quick test and it looks good. Im guessing the dependencies in shrinkwrap.json need to be updated.

haganbt avatar Aug 30 '15 01:08 haganbt