-
Notifications
You must be signed in to change notification settings - Fork 32
Description
I have a brand new installation of node and npm on OS X 10.10.4
$ uname -a
Darwin macbook 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
$ node -v
v0.12.7
$ npm -v
2.12.1
When I run npm install dynamo-archive I get the following messages. I cannot figure out why it does not work, and I am a node novice so I am not sure where to go next.
$ npm install dynamo-archive
sleep@1.1.8 install /Users/my_user/node_modules/dynamo-archive/node_modules/sleep
node build.js || nodejs build.jschild_process: customFds option is deprecated, use stdio instead.
gyp: dynamo-archive not found (cwd: /Users/my_user/node_modules/dynamo-archive/node_modules/sleep) while trying to load dynamo-archive
gyp ERR! configure error
gyp ERR! stack Error:gypfailed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "dynamo-archive"
gyp ERR! cwd /Users/my_user/node_modules/dynamo-archive/node_modules/sleep
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
[sleep]: Error: Failed to execute 'node-gyp rebuild dynamo-archive' (1)
sh: nodejs: command not found
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "dynamo-archive"
npm ERR! node v0.12.7
npm ERR! npm v2.12.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawnnpm ERR! sleep@1.1.8 install:
node build.js || nodejs build.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the sleep@1.1.8 install script 'node build.js || nodejs build.js'.
npm ERR! This is most likely a problem with the sleep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js || nodejs build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls sleep
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /Users/my_user/npm-debug.log