coreybutler/nvm-windows

Azure Devops Pipeline CMD Use

Open

#404 aperta il 6 nov 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Go (3822 fork)batch import
help wanted

Metriche repository

Star
 (46.364 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi there,

I am trying to use Azure Devops Pipeline to switch installed node package versions on our build machine. Running a very basic script "nvm use 6.10.0" in a powershell/command line script, I get the successful "using 6.10.0" message, however when checking nvm list on the build machine, it is still using version 10.10.0 (highlighted in the screenshot).

It appears only manual nvm use script works, I am not sure of the internal workings of nvm on windows but will it be possible to change node package in the Azure pipeline?

Thanks in advance,

Script: nvm use 6.10.0 nvm list

image

Guida contributor