node-gyp is not recognized as an internal or external command, operable program or batch file

14.4k views Asked by At

I'm trying to create C++ addon for Node.js.

I was following this tutorial and got stuck on using node-gyp configure command. As I understood from here, I should create binding.gyp file and run node-gyp configure from this directory but I get "node-gyp is not recognized as an internal or external command, operable program or batch file" error.

Node-gyp was installed using npm install -g node-gyp.

This must be something easy, but I'm new to Node.js and have no idea what is wrong.

Here is an example of what I'm trying to achieve: http://luismreis.github.io/node-bindings-guide/docs/getting-started.html

0

There are 0 answers