madskristensen / NpmTaskRunner

Visual Studio extension
Other
88 stars 32 forks source link

Task runner brings it's own (outdated) node and npm #58

Closed michaelbleterman closed 6 years ago

michaelbleterman commented 6 years ago

Installed product versions

Description

One of the projects configured to run npm install at BeforeBild script It fails as it runs with outdated node and npm from it's internal directory rather than globally installed one: npm ERR! System Windows_NT 6.2.9200 npm ERR! command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\\node\node" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\bin\npm-cli.js" "install" "--color=always" npm ERR! cwd D:\Projects\5.2.0\ProWebAPI npm ERR! node -v v0.10.31 npm ERR! npm -v 1.4.9

Please either update embedded node.js version, allow to upgrade it or just use globally installed one.

scottaddie commented 6 years ago

@michaelbleterman See my suggestion to fix it here: https://github.com/madskristensen/NpmTaskRunner/issues/47