tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

install process-boss error, with "node-gyp: Permission denied" #21

Closed wxygeek closed 9 years ago

wxygeek commented 9 years ago
root@ubuntu:~# cnpm i -g process-boss
npm WARN engine async-listener@0.2.2: wanted: {"node":"<0.11.7"} (current: {"node":"0.11.14","npm":"2.1.10"})

> posix@1.0.4 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/posix
> node-gyp rebuild

sh: 1: node-gyp: Permission denied
npm WARN engine freeport@1.0.3: wanted: {"node":"0.6.x"} (current: {"node":"0.11.14","npm":"2.1.10"})

> weak@0.3.3 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/node_modules/weak
> node-gyp rebuild

sh: 1: node-gyp: Permission denied
npm WARN optional dep failed, continuing weak@0.3.3

> heapdump@0.3.3 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/node_modules/heapdump
> node-gyp rebuild

sh: 1: node-gyp: Permission denied

> usage@0.5.0 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/node_modules/usage
> node-gyp rebuild

sh: 1: node-gyp: Permission denied

> ws@0.4.32 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/node_modules/node-inspector/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

/
> execSync@1.0.2 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/execSync
> node install.js

sh: 1: node: Permission denied

> v8-debug@0.3.1 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/node_modules/node-inspector/node_modules/v8-debug
> node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied

> v8-profiler@5.2.1 install /root/.nvm/v0.11.14/lib/node_modules/process-boss/node_modules/boss-local/node_modules/boss-daemon/node_modules/node-inspector/node_modules/v8-profiler
> node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "node" "/root/.nvm/v0.11.14/lib/node_modules/cnpm/node_modules/.bin/npm" "--userconfig=/root/.cnpmrc" "--disturl=https://npm.taobao.org/dist" "--cache=/root/.npm/.cache_cnpm" "--registry=https://registry.npm.taobao.org" "i" "-g" "process-boss"
npm ERR! node v0.11.14
npm ERR! npm  v2.1.10
npm ERR! code ELIFECYCLE

npm ERR! posix@1.0.4 install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the posix@1.0.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the posix 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 posix
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/npm-debug.log
achingbrain commented 9 years ago

I notice you're running node 0.11.14. Boss is only tested against the latest release version (0.10.34 at the time of writing).

If you get past this, you're likely to run into melor/node-posix/issues/18 - I'd suggest running node 0.10 until 0.12 (or iojs/io.js) is released.

achingbrain commented 9 years ago

boss 2.6.2 should now run on node 0.12 and io.js 1.1.0+. If you see any more problems please open a new issue.