0

This morning I've been diving into the wonderful (and quite frustrating) world of NodeJS. I'm now wanting to install node-restify and, after a bit of research, now realise I need to install a package called node-gyp (https://www.npmjs.org/package/node-gyp) to make this happen.

However, npm install -g node-gyp comes back in my NodeJS with a 404 Not Found - node-gyp is not in the npm system registry error, brilliant!

Can anyone advise as to why this is, other than the obvious? And potentially any workarounds?

Chris Dixon
  • 9,147
  • 5
  • 36
  • 68

1 Answers1

0

You need to install node-gyp with the command

 npm install -g node-gyp

instead of

npm-install -g node-gyp

and then restify by

npm install restify
V31
  • 7,626
  • 3
  • 26
  • 44