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?
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