Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: When Installing NPM looking at wrong folder location #1221

Open
kdhaliwal2023 opened this issue Jan 14, 2025 · 7 comments
Open

[Issue]: When Installing NPM looking at wrong folder location #1221

kdhaliwal2023 opened this issue Jan 14, 2025 · 7 comments

Comments

@kdhaliwal2023
Copy link

What happened?

C:\Windows\System32>nvm install 8.16
Downloading node.js version 8.16.2 (64-bit)...
Complete
Downloading npm...
Creating C:\Users\KDHALI~1\AppData\Local\Temp\nvm-install-2522360210\temp

Downloading npm version 6.4.1... Complete
Installing npm v6.4.1...
error installing 8.16.2: open C:\Users\KDHALI~1\AppData\Local\Temp\nvm-npm-444768952\npm-v6.4.1.zip: The system cannot find the file specified.

What did you expect to happen?

System should pick a value from same temp folder.

Version

1.2.0 or newer (Default)

Which version of Windows?

Windows 11+ (Default)

Which locale?

None

Which shell are you running NVM4W in?

Command Prompt

User Permissions?

Administrative Privileges, Elevated

Is Developer Mode enabled?

No (Default)

Relevant log/console output

C:\Windows\System32>nvm install 8.16
Downloading node.js version 8.16.2 (64-bit)...
Complete
Downloading npm...
Creating C:\Users\KDHALI~1\AppData\Local\Temp\nvm-install-2522360210\temp

Downloading npm version 6.4.1... Complete
Installing npm v6.4.1...
error installing 8.16.2: open C:\Users\KDHALI~1\AppData\Local\Temp\nvm-npm-444768952\npm-v6.4.1.zip: The system cannot find the file specified.

Debug Output

C:\Windows\System32>nvm debug
Running NVM for Windows with administrator privileges.

Windows Version:        10.0 (Build 22631)

NVM4W Version:          1.2.0
NVM4W Path:             C:\Users\kdhaliwal\AppData\Local\nvm\nvm.exe
NVM4W Settings:         C:\Users\kdhaliwal\AppData\Local\nvm\settings.txt
NVM_HOME:               C:\Users\kdhaliwal\AppData\Local\nvm
NVM_SYMLINK:            C:\nvm4w\nodejs
Node Installations:     C:\Users\kdhaliwal\AppData\Local\nvm
Default Architecture:   64-bit
Mirrors:                No mirrors configured
HTTP Proxy:             none

Total Node.js Versions: 1
Active Node.js Version: none
(run "nvm use <version>" to activate a version)
NVM_SYMLINK does not exist yet. This is auto-created when "nvm use" is run.

IPv6 is enabled. This has been known to slow downloads significantly.

No problems detected.

⚠️  We are currently building Author/Runtime to succeed NVM for Windows.


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

Anything else?

No response

@slience-me
Copy link

Yes, I encountered the same issue. npm was downloaded to the \Temp\nvm-install-\temp folder, but it seems that the installation process didn't use this path to extract it.

@adavsisbe
Copy link

There's a PR for this already

#1220

@VJDEXTRE
Copy link

The message I received was:
"Running NVM for Windows with administrator privileges.
Error getting console handle: The operation completed successfully
Windows Version: 10.0 (Build 19045)"

@AnyFork
Copy link

AnyFork commented Jan 21, 2025

me too!

@PickledKitty
Copy link

Same here, for what it's worth.

@AnyFork
Copy link

AnyFork commented Jan 22, 2025 via email

@p3rb3r
Copy link

p3rb3r commented Jan 22, 2025

Went back to v1.1.12 and all good again

https://github.com/coreybutler/nvm-windows/releases/tag/1.1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants