Possible solution:
Node.js 14.x supported on windows 8.1 and above? · Issue #33000 · nodejs/node
How to set the NODE_SKIP_PLATFORM_CHECK environment variable to 1 which skips the version check
How to set the NODE_SKIP_PLATFORM_CHECK environment variable to 1 which skips the version check
How to uninstall node.js completely
Windows下完全卸载node.js并安装node.js的多版本管理工具nvm-windows_不积跬步,无以至千里-CSDN博客_windows卸载node
Just a short conclusion:
First let’s review how to upgrade node.js
step 1: uninstall existing node.js and delete relevant files (such as C:\Users{User}\AppData\Roaming\npm & C:\Users{User}\AppData\Roaming\npm-cache), then restart the machine
step 2: download nvm-setup.zip from github
step 3: extract the zip and follow the commands below
1 | nvm install SPECIFIC_VERSIOIN_YOU_WANT_TO_INSTALL |
1 | nvm use THE_VERSION_YOU_JUST_INSTALLED |
You can also check the versions you’ve installed with the command nvm list
and enter nvm list available
to see the versions available to download.
Technically done.
However, here comes up a problem that unfortunately v14+ of node.js isn’t supported by windows 7.
And you’ll get these words when use
it:
With the help of stackoverflow, I found the solution, here’s the original answer I pasted:
Had same problem and ended solving it, I just installed node 14.15.0
- Go here
- Download the Windows Binary (.zip) either 32/64 bit
- Extract it in the directory where your node it’s installed and say yes to replace all files (remember that the zip comes with npm that is in
node_modules/npm
directory I didn’t copy from the zip because I already updated npm before replacing the files)- Create an Environment variable called:
[NODE_SKIP_PLATFORM_CHECK](https://nodejs.org/api/cli.html#cli_node_skip_platform_check_value)
and set it to 1- Ready to use node in Windows 7 for now
Here’s another answer on how to set NODE_SKIP_PLATFORM_CHECK to 1, I had to paste it here too:
This work for me
- Go to System-Properties (run: systempropertiesadvanced.exe), in Advanced tab, click Environment Variables.
- Still on the System variables, click ‘New’, add “NODE_PATH” with value “C:\nodejs64\node_modules”, and click OK.
- click ‘New’ again, add “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.
SO THANKS TO STACKOVERFLOW, FINALLY I INSTALLED THE LATEST VERSION OF NODE AND SUCCESSFULLY GET IT UP AND RUNNING ON WINDOWS 7! :-)