-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
What happened?
Al intentar instalar una versión de Node.js con nvm install <versión> en nvm-windows 1.2.2, la instalación falla porque los archivos de Node.js y npm se descargan en directorios temporales diferentes. Como resultado, nvm no encuentra npm al validar la instalación.
nvm install 10.13.0
Downloading node.js version 10.13.0 (64-bit)...
Complete
Downloading npm version 6.4.1...
Error installing 10.13.0 ... The system cannot find the file specified
Rutas donde nvm descarga los archivos:
Node.js: C:\Users\USER\AppData\Local\Temp\nvm-install-XXXXXXXX\temp
npm: C:\Users\USER\AppData\Local\Temp\nvm-npm-XXXXXXXX\npm-v6.4.1.zip
Pasos para reproducir el problema:
Instalar nvm-windows 1.2.2.
Ejecutar nvm install 10.13.0.
Verificar el error: "The system cannot find the file specified".
Comportamiento esperado:
En versiones anteriores (nvm-windows 1.1.9), nvm install funciona correctamente:
nvm install 10.13.0
Downloading node.js version 10.13.0 (64-bit)...
Complete
Downloading npm version 6.4.1... Complete
Installing npm v6.4.1...
Installation complete. If you want to use this version, type
nvm use 10.13.0
What did you expect to happen?
Comportamiento esperado:
En versiones anteriores (nvm-windows 1.1.9), nvm install funciona correctamente:
nvm install 10.13.0
Downloading node.js version 10.13.0 (64-bit)...
Complete
Downloading npm version 6.4.1... Complete
Installing npm v6.4.1...
Installation complete. If you want to use this version, type
nvm use 10.13.0
Version
1.2.0 or newer (Default)
Which version of Windows?
No response
Which locale?
None
Which shell are you running NVM4W in?
No response
User Permissions?
Administrative Privileges, Elevated
Is Developer Mode enabled?
None
Relevant log/console output
No aplica
Debug Output
No me permite hacerle debug
Anything else?
Espero me contacten cuando hayan solucionado el bug.
Me apoyé con las recomendaciones que ChatGPT ofrece.