1

I need to run multiple versions of NodeJS as many others do. I have removed all versions of Node from my computer and installed NVM Version 1.2.1.

When I run nvm install 8 this is the output:

C:\> nvm install 8
Downloading node.js version 8.17.0 (64-bit)...
Complete
Downloading npm...
Creating C:\Users\<username>\AppData\Local\Temp\nvm-install-3482925554\temp

Downloading npm version 6.13.4... Complete
Installing npm v6.13.4...
error installing 8.17.0: open C:\Users\<username>\AppData\Local\Temp\nvm-npm-1343300179\npm-v6.13.4.zip: The system cannot find the file specified.
C:\>

and the install fails. This only seems to happen with older versions of Node. I was able to install the latest version without issues.

I have checked for the missing file, and it is located in the first directory that NVM created, \AppData\Local\Temp\nvm-install-3482925554\temp, not the directory it is looking in, C:\Users\<username>\AppData\Local\Temp\nvm-npm-1343300179.

I tried copying the npm-v6.13.4.zip file to the other directory, but every time I run the install it creates a new directory nvm-npm-SomeRandomNumber I also tried installing NVM version 1.2.0 and it gives the same result.

1 Answer 1

1

Version 1.1.12 works perfectly on Windows 11, and I will stick with it until Corey releases a new version. I found some discussions on the GitHub repo where Corey said, " I would stick with version 1.1.12."

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.