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
Answer from David on Stack OverflowIt 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.
Linux or windows 10 wasn't an option.
Steps I took:
-
installed node ~13.6 last version that works on 7 via installer.
//after several failed npm starts -
downloaded the x64 zip for 14.15.1 and replaced the entire contents of the previous node installation from directory.
//node now gives out warnings about non supported os -
Go to control panel -> System -> Advanced System Settings then environment variables.
-
under system variables i created a new one with
NODE_SKIP_PLATFORM_CHECKand set its value to1.
// might not want to install anything globally -
restarted node cli and ran npm install -g create-react-app
-
ran create-react-app myapp after build used npm start and everything worked.
You may have to run the node cli with as admin but it works.
Update: Oct 2021, the latest versions working with below "trick" are:
- Node v14.16.1 (or older but not below v14.5.0)
- Node v15.8.0 (or older but not below v15.0.0)
Because Node updated from
libuv v1.40tov1.41, and with that, causing Win7 errors:ws2_32.dlldoes not haveGetHostNameWfunction (or something alike).
The workaround Method (for versions mentioned above)
The v12.x branch seems to continue supporting Win7 (tested 2021 with Node v12.22.7).
But I needed 14.x version-branch and ended solving problem;
I just installed Node 14.15.0, like:
- Go to Node-downloads
- Download the Windows Binary (.zip) (either 32/64 bit)
- Extract it in the directory where your node is installed and say yes to replace all files (remember that the zip comes with
npm, which is innode_modules/npmdirectory; I didn't copy from the zip because I already updated npm before replacing the files) - Create an Environment variable called:
NODE_SKIP_PLATFORM_CHECKand set it to1 - Ready to use Node in Windows 7 for now.
Latest node.js version that (officially) supports Windows 7 is 13.6.0. https://nodejs.org/download/release/v13.6.0/
Apparently some newer versions don't support win 7, what you can do is try to download an older one like 10.14.2 LTS
Here i do this
Go to System-Properties (run: systempropertiesadvanced.exe), in Advanced tab, click Environment Variables.
Still on the System variables, click 'New', add name: NODE_PATH with value: C:\nodejs64\node_modules, and click OK. click 'New' again, add name: NODE_SKIP_PLATFORM_CHECK with value: 1, and click OK.
Click OK of all dialogs close.
Restart your machine, so explore and cmd will get the fresh set of variables.