Skip to content

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

@kdhaliwal2023

Description

@kdhaliwal2023

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    not stalePrevent the stale bot from closing the issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions