Questions tagged [nvm-windows]

NVM for Windows is the npm/Google/Microsoft recommended Node.js version manager for Windows. Questions relative to this utility should use the nvm-windows tag.

NVM for Windows is a utility for toggling between different versions of Node.js. It differs from nvm, which is similar (but different) tool for Linux. Only questions related to NVM for Windows should be tagged with nvm-windows.

40 questions
1
vote
0 answers

NVM for Windows successfully installed but CMD prompt informs my version of Node.exe not compatible with my Windows version

I'm on a Microsoft Surface Pro X (it features Windows 10 Home on ARM 64-bit processor) trying to install Node.js. I've decided to use NVM for Windows. I can successfully install and get NVM for Windows running correctly. To my understanding, I'm…
jcomp_03
  • 127
  • 1
  • 8
1
vote
0 answers

Why do I always get errors when I run "npm install" in a project from github?

I am trying to install a PEVN app from GitHub (just looking for repositories and download), but always when I try to run npm install, the installation process ends up with a huge bunch of errors. I have read that it might be necessary to use older…
Netervey
  • 47
  • 5
1
vote
1 answer

nvm-windows Node.js version change in NW.js

I am using nvm-windows and I've two different node.js versions installed. I am also working with nw.js but after having some problem with async/await I checked the node.js installation in use running: nvm ls I get: * 14.6.0 (Currently using…
Fantantonio
  • 377
  • 4
  • 15
1
vote
1 answer

NVM (for Windows) doesn't see local executable scripts

A lot of people have this problem but it always starts out with "I installed NVM for windows and now NPM won't work". That is not my issue. NPM works fine. My problem is with installing packages, but I should prefix this by saying that I'm new to…
Rich
  • 181
  • 1
  • 5
1
vote
0 answers

How do I resolve /c/Program Files/nodejs/node: line 1: syntax error near unexpected token `newline' error?

I've installed nvm, downloaded a version of node and then use it. When I try to install a package, or run node --version or npm --version, I get the following error: /c/Program Files/nodejs/node: line 1: syntax error near unexpected token…
James Barrett
  • 2,757
  • 4
  • 25
  • 35
0
votes
0 answers

Node Version Manager for Windows Blows Away NPM PATH

I have been using NVM for Windows for a while because I work in different Angular projects which require different versions of NodeJS. One issue I have with it is that when I need to switch between versions, my environment variable for the NPM path…
David
  • 5,877
  • 3
  • 23
  • 40
0
votes
1 answer

Why do I keep switching back to an old Node.js version with nvm-windows?

I am having issues with my node version and nvm. Using the command node -v shows I am using v20.1.0. I need to be using nvm 10.23.0. When I go to use 10.23.0, it prompts to allow this program to make changes, which I accept, and then it shows I have…
epin
  • 1
0
votes
0 answers

Unable to install npm package

when I run the command nvm install 12.11, it installs the node but give error install npm as below "Downloading npm version 6.11.3... Download failed. Rolling Back. Rollback failed. remove C:\Program Files\nvm\temp\npm-v6.11.3.zip: The process…
user3586286
  • 321
  • 1
  • 3
  • 9
0
votes
0 answers

Nodejs installing failure

When ive trying to install lts nodejs using NVM ive got error C:\Home\Self\dev\cv>nvm install 18 Downloading node.js version 18.16.0 (64-bit)... Error while creating C:\Home\Self\Soft\nvm\v18.16.0\node.zip - open…
voids Mark
  • 19
  • 6
0
votes
0 answers

nvm-windows and Installing global packages with Yarn - How do I use Yarn correctly?

I made the switch to nvm-windows. I installed all of my global packages using npm for each version of Node that I have installed. I can verify all of these packages are installed in: C:\Users\[username]\AppData\Roaming\nvm\[node version] I also…
fmotion1
  • 237
  • 4
  • 12
0
votes
1 answer

Nodejs and npm are not working because I mistakenly uninstalled/deleted some nodejs files

Recently, I was facing an error with my Git. So, I tried to uninstall/delete Git from my windows system so that I could reinstall it again from beginning. But, In that process I mistakenly deleted some files which were related to NodeJs and…
0
votes
0 answers

error code for nvm use version command with exit status 0xc0000005: on windows

So I am having this problem with my NVM, I installed it via https://github.com/coreybutler/nvm-windows/releases the .exe one on Windows 10, did the install, opened PowerShell and ran the commands, my problem relays in the exit status 0xc0000005: PS…
SergR
  • 1
  • 1
0
votes
0 answers

How to update globally installed packages in nvm Windows?

I want to update: $ npm outdated -g --depth=0 Package Current Wanted Latest Location npm 6.12.1 6.14.18 9.2.0 global prettier 2.8.1 2.8.2 2.8.2 global I followed https://stackoverflow.com/a/56806361/8001538 but node…
Sunil Kumar Das
  • 372
  • 1
  • 2
  • 12
0
votes
0 answers

Dockerfile (windows): Chocolatey giving "not recognized as the name of a cmdlet" error after nvm install

I'm trying to install NVM in my container by first installing chocolatey. The issue I'm running into is that when building the container after installing nvm through chocolatey when I try to run the "nvm" command to test out if it's been installed I…
Neomoon
  • 181
  • 1
  • 3
  • 12
0
votes
0 answers

Windows cannot find npm.cmd, Program 'npm.cmd' failed to run

I have installed nvm 19.0.0 and with that node 19.0.0. However, I am unable to use the npm that should be included with the download of Node. I cannot create a react app because of this. If anyone has any advice or experience with this type of issue…
granco20
  • 21
  • 3