-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Manually running npm install dat-g on Pirateship for Pi results in a fail.
root@raspberrypi:/data# npm install dat -g
\
> [email protected] install /usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown
> node-pre-gyp install --fallback-to-build
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build'
make: *** No rule to make target '../.node-gyp/0.10.36/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build'
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:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.18.11-hypriotos+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp/leveldown.node" "--module_name=leveldown" "--module_path=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp"
gyp ERR! cwd /usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp/leveldown.node --module_name=leveldown --module_path=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System Linux 3.18.11-hypriotos+
node-pre-gyp ERR! command "node" "/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown
node-pre-gyp ERR! node -v v0.10.36
node-pre-gyp ERR! node-pre-gyp -v v0.6.8
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp/leveldown.node --module_name=leveldown --module_path=/usr/local/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown/build-pre-gyp' (1)
npm ERR! EEXIST, open '/root/.npm/0ae333bd-t-npm-inherits-2-0-1-package-tgz.lock'
File exists: /root/.npm/0ae333bd-t-npm-inherits-2-0-1-package-tgz.lock
Move it away, and try again.
npm ERR! System Linux 3.18.11-hypriotos+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "dat" "-g"
npm ERR! cwd /data
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /root/.npm/0ae333bd-t-npm-inherits-2-0-1-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0
Metadata
Metadata
Assignees
Labels
No labels