nvm-sh / nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windows server 2019 do not respond for any nvm commands during remote session or when execute over azure devops pipeline task

CNManoj opened this issue · comments

Operating system and version: Windows Server 2019 Std

nvm debug output:

Windows PowerShell Windows Version: 10.0 (Build 17763)

Windows Developer Mode: UNKNOWN (user cannot read registry)

NVM4W Version: 1.1.12
NVM4W Path: C:\ProgramData\nvm\nvm.exe
NVM4W Settings: C:\ProgramData\nvm\settings.txt
NVM_HOME: C:\ProgramData\nvm
NVM_SYMLINK: C:\Program Files\nodejs
Node Installations: C:\ProgramData\nvm

Total Node.js Versions: 1
Active Node.js Version: v20.11.1

No problems detected.

Find help at https://github.com/coreybutler/nvm-windows/wiki/Common-Issues

nvm ls output:

* 21.6.2 (Currently using 64-bit executable)

How did you install nvm? using nvm-windows (nvm-setup.exe) version 1.1.12

What steps did you perform? Double click install, then npm install latest

What happened? Installed and configured nvm and can use locally from server using powershell and cmd

What did you expect to happen? nvm commands to work from azure devops pipeline or PSSession remote but it doesn't respond for ever

Azure DevOps Version and Agent used:

Azure DevOps Server 2019 Agent version used: 2.200.0 NVM version: 1.1.12

Everything works with:

Azure DevOps Server 2019 ![Uploading Log-PS-NVM_Timeout.png…]()

Agent version used: 2.200.0
NVM version: 1.1.11

You’re using nvm-windows, which is an entirely different project.