I'm trying to install Node JS v8.12.0 on Windows 7, using the following installer downloaded from the Node website: https://nodejs.org/dist/v8.12.0/node-v8.12.0-win-x86.zip
When I run the installer, it just hangs on the first window it opens - please see screen below.
It may have something to do with the fact that I uninstalled a previous version of Node by following this solution: How to completely remove node.js from Windows
I also had NVM for Windows installed previously, which I also uninstalled.
So I am trying to install Node again from scratch, but this time it just hangs forever.
I'm running it with Elevated Privileges on a work machine, which has always worked when installed Node in the past, including this version (8.12.0).
I guess you are using the binary version of Node for Windows.
Try to download and use this installer:
https://nodejs.org/dist/latest-v8.x/node-v8.15.0-x86.msi
Related
I want to install Node.js version 14 on Windows but it is not installing instead it is showing below screen.
But when I try to install Node.js v17, it is opening installation wizard by which I can install Node.js but this is not happening for Node.js 14. How can I install Node.js v14?
I downloaded the exe from https://nodejs.org/en/blog/release/v14.17.3/
It is easier to use nvm for node installation. It allows you to quickly install and use different versions of node via the command line
It is available on Linux/Mac and Windows
You can find the setup file in the releases section and install it
To install node v14 you just need to execute 2 comands
nvm install 14
nvm use 14
If you've downloaded the exe, there's no installation needed - you already have the executable, and as you can see, it's operational - when you run it, you get Node.js' REPL.
If you want to "properly" install Node.js you could download and run the MSI from the link instead of the exe.
So, you get an executable file when you download it? You might have downloaded the zip archive instead of the installer. There can be many ways to install node into your Windows machine.
Using nvm (recommended)
You can use nvm to keep multiple versions of node and toggle between them when needed.
nvm install 14
nvm use 14
Ref: NVM Readme
Using MSI Installer
Download the msi installer from the website Previous Releases page if you want a specific older version. Here is a link for v14.18.2-x64.
Using Zip Archive (the hard way)
If you want to do it by using the file you already downloaded, what you can do is:
Save that exe file to a specific location you want (It is recommended to save all the executable binaries in bin directory in your User directory, similar to how we do in Linux systems).
Copy the path to that file (e.g., C:\Users\erajendr\bin\node.exe).
Search for Edit the system environment variables in Cortana search.
Look for a variable with name "Path".
Double click on the variable.
Add the copied path to the list of existing paths there.
You can test if this works by typing node in a fresh new terminal/cmd.
Ref: How to add Path in Windows 10
I'm trying to install VS Code on a Raspberry PI (Pi 3).
I got the Raspberry Pi OS with some pre-installed node application that I want to debug and extend the functionnality.
There for i thought it would be great to have VS Code Server running on the Pi so that i don't have to have the Pi connected to the Internet all the time in order to do the remote-ssh (and this option didn't even work).
The "Blackbox" application that I want to debug / extend the functionnality runs with node v7.10.0.
Or at least that's what node -v tells me.
I've tried to install nvm in order to switch node versions to be able to install VS Code Server.
I've done the nvm install 12.0.0 (as VS Code Server says it requires at least node v12) and the nvm use v12.0.0. I've tried to use nvm alias default v12.0.0 aswell, but still if i type node -v it gives me the v7.10.0. The installation of VS Code server doesn't succeed as it is most probably using the node version installed directly in the linux.
Is there anything i can do in order to have the node -v giving out v12.0.0 so that VS Code can install properly?
VS Code thereafter probably need to use this version (v12.0.0) to operate but the "blackbox" node project still needs to run with node version v7.10.0 (I don't know it it supports anything higher that that).
I thought that nvm is controlling the node versions that and that i would be possible to run two different node versions beside each other or at least switch between them.
Is there anything I can do to install VS Code Server?
I currently have node.js v0.10.24-x64 installed on my machine and am attempting to update to v12.19.0-x64. When I run the v12.19.0-x64.msi installer, I see this error message: https://i.stack.imgur.com/J1mAK.png
Clicking 'cancel' then gives this message, indicating that the installer is trying to remove a prior installation of node: https://i.stack.imgur.com/6Vcme.png
I've tried uninstalling my current node.js installation and then installing the newer version from scratch, but this process gives me the same result. How can I completely remove node.js from my system so that I can install the new version without errors?
Try installing or uninstalling node js without connecting you pc to internet.
I installed Node.js from (https://nodejs.org/dist/latest-v5.x/node-v5.12.0-x64.msi), but the issue is , its showing version v0.12.2 instead of v5.12.0 which is required.
I try to update the node.js 5.2 installer but still showing version v0.12.2.
I have uninstalled Node.js and reinstall node-v5.12.0-x64.msi but still it’s not updated. Due to this am not able to run further commands for Ionic environmental setup.
Open a terminal and type where node
It should point to an old version of node (v0.12.2) still installed on your computer, for example C:\bin\node.
As Node.js is portable, you can have multiple versions on your computer.
If it cannot be uninstalled, simply delete C:\bin\node folder.
Then:
Open Windows System Properties/Advanced system properties
Click on Environment variables and edit PATH variable
Remove inside its value the path of the old version of node (C:\bin\node in our example).
Re-install Node v5.
Close your terminal and open a new one then type where node, it should point to Node.js v5
Most likely, you have an old Node version for x86 platform, and you are installing a newer version for 64 bit. Remove the path to the x86 from the Paths env variable, or move it to after the 64 bit path.
Solution:
List node.js installatios using nvm:
nvm ls
High chance the version you tried to install is also listed
Select the version to use using nvm
nvm use
(Not a direct solution)
You can try to install using nvm
Uninstall nodejs and follow the instruction from https://github.com/coreybutler/nvm-windows
Using the newest node.js installer from https://nodejs.org, I run into the same error every time when it reaches the npm installation. npm 3.x was supposed to deal with this issue, but apparently it doesn't help the node.js installer. The node developers have essentially refused to do anything about it, as this problem has been around for about two years already. Unfortunately, I can't seem to find a work around. How can I get this to install?
I also had this error, trying to install node-v8.10.0-x64.msi on Windows 10.
My solution (to getting it to install; no idea if it won't break further down the line) was changing the install directory from C:/Program Files/nodejs to C:/njs/ (2nd step of current setup process).
I'm surprised those characters made the difference, and that there even is a Windows node release if there's not a proper solution to this (can't believe that maximum path length on Windows isn't modifiable), but this has seemingly worked for me.
I don't think its an installer error, actually windows is restricting the path size to be 150 char.
try reducing the file path name by copying it into direct c or d drive.
Check the link below Microsoft Forum
I've used Choco
It works together with NVM 4 Win.
After once installing node with choco install nodejs
then I install other versions of node using NVM e.g. nvm install 6.9.0
following by choosing that version with nvm use 6.9.0
and then verify with nvm list
and node -v.
I also need to install the latest version installed by choco using nvm install 10.1.0