Skip to content

[Issue]: nvm install does not complete successfully #1294

@enthusedcoder

Description

@enthusedcoder

What happened?

Hello. So this tool does not seem to work. When I attempt to install a version of nodejs using nvm install 14.0.0, I get the below error:

Downloading node.js version 14.0.0 (64-bit)...
Complete
Downloading npm...
Creating C:\Users\whiggs\AppData\Local\Temp\nvm-install-2557088746\temp

Downloading npm version 6.14.4... Complete
Installing npm v6.14.4...
error installing 14.0.0: open C:\Users\whiggs\AppData\Local\Temp\nvm-npm-3964721837\npm-v6.14.4.zip: The system cannot find the file specified.

I did some digging, and the issue appears to be that nvm is looking for the downloaded npm-v6.14.4.zip file in the wrong folder, as copying that file name and doing a global search for it reveals that the full path to the actual file location is C:\Users\whiggs\AppData\Local\Temp\nvm-install-2557088746\temp\npm-v6.14.4.zip, which does not match the path indicated in the console output.

What did you expect to happen?

I expected your program to actually work

Version

1.2.0 or newer (Default)

Which version of Windows?

Windows 10

Which locale?

English (Default)

Which shell are you running NVM4W in?

PowerShell

User Permissions?

Administrative Privileges, Elevated

Is Developer Mode enabled?

Yes

Relevant log/console output

Debug Output

nvm debug
Running NVM for Windows with administrator privileges.

Windows Version:        10.0 (Build 19045)

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

Total Node.js Versions: 0
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.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions