node-heap-dump icon indicating copy to clipboard operation
node-heap-dump copied to clipboard

node-gyp: Permission denied

Open mark-hahn opened this issue 12 years ago • 1 comments

I'm getting "node-gyp: Permission denied" when I try to install using "npm i heapdump". What could I be doing wrong? I'm running as root.

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 heapdump

mark-hahn avatar Dec 02 '12 18:12 mark-hahn

I'm not sure. It works for me:

dap@Dave-Pachecos-Macbook ~ $ npm install heapdump
npm http GET https://registry.npmjs.org/heapdump
npm http 200 https://registry.npmjs.org/heapdump
npm http GET https://registry.npmjs.org/heapdump/-/heapdump-0.0.4.tgz
npm http 200 https://registry.npmjs.org/heapdump/-/heapdump-0.0.4.tgz

> [email protected] install /Users/dap/node_modules/heapdump
> node-gyp rebuild

  CXX(target) Release/obj.target/heapdump/src/heapdump.o
  SOLINK_MODULE(target) Release/heapdump.node
  SOLINK_MODULE(target) Release/heapdump.node: Finished
[email protected] node_modules/heapdump

dap@Dave-Pachecos-Macbook ~ $ node -v
v0.8.15

The full output would be helpful, as well as information about what node version and operating system (and version) you're using.

davepacheco avatar Dec 02 '12 19:12 davepacheco