Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NodeJS for windows 7 [duplicate]

I am trying to install NodeJS for windows 7. I tried installing the most recent NodeJS but it is not compatible with Windows 7. I was wondering if anyone knows what is the latest version of NodeJS you can install on Windows 7? Thank you.

like image 453
Franky McCarthy Avatar asked Jun 05 '20 10:06

Franky McCarthy


People also ask

Will Nodejs work on Windows 7?

Normally old operating system needs an old version of Node. JS. you can refer to old version of Node. JS here, you can also download this one, which is tested and working fine with Win7( win7 Ultimate v6.

Which version of node JS works on Windows 7?

It installs v13. 14.0 LTS. It seems that v13. 14.0 LTS is the last installer that works on Window 7.

How do I install npm on Windows 7?

Step 1: Download Node.js Installer In a web browser, navigate to https://nodejs.org/en/download/. Click the Windows Installer button to download the latest default version. At the time this article was written, version 10.16.0-x64 was the latest version. The Node.js installer includes the NPM package manager.

Can we have 2 versions of node installed?

As on the same machine, we can only install one version of the nodejs, so it's very painful to uninstall and install the new node version as per your project requirements. To overcome this problem, we can use the Node Version Manager (NVM).


4 Answers

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.40 to v1.41, and with that, causing Win7 errors: ws2_32.dll does not have GetHostNameW function (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 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 and set it to 1
  • Ready to use Node in Windows 7 for now.
like image 173
tttony Avatar answered Oct 17 '22 05:10

tttony


Latest node.js version that (officially) supports Windows 7 is 13.6.0. https://nodejs.org/download/release/v13.6.0/

like image 51
dziku86 Avatar answered Oct 17 '22 07:10

dziku86


It seems that v13.14.0 is the last installer that works on Window 7

go here and select the package related to your version of windows 32 / 64 bits:

https://nodejs.org/dist/latest-v13.x/

like image 17
Giovanni Paolin Avatar answered Oct 17 '22 06:10

Giovanni Paolin


I just install in Windows 7 x64 this version

https://nodejs.org/download/release/v13.14.0/

like image 10
deyener1k Avatar answered Oct 17 '22 05:10

deyener1k