nvs icon indicating copy to clipboard operation
nvs copied to clipboard

.nvmrc files are NOT recognized by nvs auto

Open mike-novatech opened this issue 3 years ago • 5 comments

I've only been able to get nvs to auto switch when using a .node-version file; .nvmrc files seem to be ignored.

Are the docs just out of date?

mike-novatech avatar Feb 25 '22 14:02 mike-novatech

It works on WSL or Linux; but not on Windows I am finding

danpetitt avatar Mar 08 '22 19:03 danpetitt

It's working fine for me.

I have nvs auto on in my powershell profile.

image

dsbert avatar Apr 01 '22 14:04 dsbert

I can confirm that it does not work with .nvmrc on windows using PowerShell but for me it also does not work with .node-version file. Also when I turn it on it makes starship crash:

image

maxbebaasuro avatar May 24 '22 09:05 maxbebaasuro

I was having the same trouble because I installed nvs from chocolatey which only has v1.5.2. That version does not look for .nvmrc, only .node-version. Installing the latest version, 1.6.2 (from this repo) solved the problem.

DavidPx avatar Nov 02 '22 18:11 DavidPx