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
Post a Comment