Attempting to install Angular using the NPM interface in VS 2013, however it consistently fails when attempting to install (or build?) Contextify, which I presume must be an Angular dependency.
Have tried using a couple of Node versions (0.10.23 and 0.10.22), and also the 64 and 32 bits.
I am using VS Ultimate 2013.
I can install Angular through the usual Node command line tool with no problem using the command 'npm install angular'.
Error shown here:
npm ERR! contextify@0.1.6 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.6 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! 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 contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "angular" "--save"
npm ERR! cwd C:\Work\ExpressTest
npm ERR! node -v v0.10.23
npm ERR! npm -v 1.3.17
npm ERR! code ELIFECYCLE
Comments: Just tested this again for an hour, and it still fails in VS at the point of building the contextify dependency (npm ERR! Failed at the contextify@0.1.6 install script). I'm certain that path length is not an issue as I'm starting from a location close to the root of c:. Tested the install of Angular again from the command line (in the same folder as the project that is open in VS) using the following node command which works fine: npm install angular --msvs_version=2013 I notice that the command being run from VS is different to the one I use: "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" install angular --save However, even running this command from the command line in the project directory works fine! Some info about my VS install which may help? Microsoft Visual Studio Ultimate 2013 Version 12.0.21005.1 REL Microsoft .NET Framework Version 4.5.50938 Node.js Tools 1.0.11119.03 Node.js Tools - Profiling 1.0.11119.03 NuGet Package Manager 2.7.41101.371
Have tried using a couple of Node versions (0.10.23 and 0.10.22), and also the 64 and 32 bits.
I am using VS Ultimate 2013.
I can install Angular through the usual Node command line tool with no problem using the command 'npm install angular'.
Error shown here:
npm ERR! contextify@0.1.6 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.6 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! 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 contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "angular" "--save"
npm ERR! cwd C:\Work\ExpressTest
npm ERR! node -v v0.10.23
npm ERR! npm -v 1.3.17
npm ERR! code ELIFECYCLE
Comments: Just tested this again for an hour, and it still fails in VS at the point of building the contextify dependency (npm ERR! Failed at the contextify@0.1.6 install script). I'm certain that path length is not an issue as I'm starting from a location close to the root of c:. Tested the install of Angular again from the command line (in the same folder as the project that is open in VS) using the following node command which works fine: npm install angular --msvs_version=2013 I notice that the command being run from VS is different to the one I use: "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" install angular --save However, even running this command from the command line in the project directory works fine! Some info about my VS install which may help? Microsoft Visual Studio Ultimate 2013 Version 12.0.21005.1 REL Microsoft .NET Framework Version 4.5.50938 Node.js Tools 1.0.11119.03 Node.js Tools - Profiling 1.0.11119.03 NuGet Package Manager 2.7.41101.371