node.js - Node JS Set Up in Visual Studio Team Services (was VS Online) -


i have app in vs (pure html). in pre-build script,

cd $(projectdir) @powershell set-executionpolicy -executionpolicy unrestricted;  @powershell  iex ((new-object net.webclient).downloadstring('https://chocolatey.org/install.ps1')) @powershell set-executionpolicy -executionpolicy unrestricted; @powershell  choco install nodejs call npm install call grunt taskscripts 

its fail, while execute node install.

help me resolve this.

thanks.

if using vnext build, can add npm task in build definition install node:

https://msdn.microsoft.com/en-us/library/vs/alm/build/steps/package/npm-install


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -