All,
Likely a noob question, but being brand new to node.js I'm stuck and going in circles so looking for a little prodding in the right direction (my skills are .NET and browser JS).
My first node.js application will read the Windows serial port, so I want to use the voodootikigod / node-serialport module that seems to be the best one to use with node.js on Windows. I have followed the instructions to build it on windows by cloning the github source locally and use node-gyp to configure and build and that works successfully with no errors.
However, I need to install this into a local npm repository so I can 'require' it in my application. I'm using the new Visual Studio Node.js tools for VS (which are an excellent way for a .net developer to get started with node.js) however the included npm package manager can't install from a local folder.
So not knowing much about NPM I am assuming to install this into the local NPM repository with the following command line "npm install" from the local github folder, and it goes pulling all the dependencies but there is an embedded script that runs the following command "node-gyp rebuild" and it is here it falls over with the error: MSB4036 the "VCBuild" task is not found.
I'm using VS 2013 pro, and I thought VCbuild was replaced by MSbuild a while back. So it looks like I have to edit the script that node-gyp rebuild tries to run but I don't know enough about npm and node-gyp to sort this out.
It's likely a dumb newbie problem - can someone point me in the right direction? Thanks.