Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js 14.x supported on windows 8.1 and above? #33000

Closed
gruber123 opened this issue Apr 22, 2020 · 28 comments
Closed

Node.js 14.x supported on windows 8.1 and above? #33000

gruber123 opened this issue Apr 22, 2020 · 28 comments
Labels
windows Issues and PRs related to the Windows platform.

Comments

@gruber123
Copy link

I'm on windows 7 only and not mean to set windows 8.1
It's pity for installation package goes on windows 8 and above only.
Version 13.x still was supported on Windows 7

@mscdex
Copy link
Contributor

mscdex commented Apr 22, 2020

Can you explain a bit more? Do you get an error message? If so, what is it? If not, what behavior are you experiencing?

@richardlau
Copy link
Member

This is intentional, see #31954.

@richardlau richardlau added the windows Issues and PRs related to the Windows platform. label Apr 22, 2020
@bzoz
Copy link
Contributor

bzoz commented Apr 22, 2020

Sorry, Windows 7 reached its EOL and we no longer support it. The last Node version tested on Win7 is 13.6.0.

@bzoz bzoz closed this as completed Apr 22, 2020
@gruber123
Copy link
Author

I have version 13.13.0 and it's working on windows

New version 14.0.0 says: (node --version) this program can be run only on windows 8.1 and ....

@xCykrix
Copy link

xCykrix commented Jun 16, 2020

@eladkarako thank you for the wonderful instructions!

EDIT: Didn't have it on hand as I was on mobile, but we have landed commits from #33176 in master that will allow this check to be bypassed. Though the MSI thing will likely be very helpful in the future as I do not believe the MSI installer has been unrestricted in the landed commits.

Also please note that this was not only built into the MSI but the node.exe runtime all itself. 🙂

@Chesvin1
Copy link

Chesvin1 commented Dec 3, 2020

@eladkarako thanks!
In case anyone has problems, this version of node should work fine for Windows 7 if you follow all the great instructions @eladkarako provided. https://nodejs.org/dist/v14.15.1/node-v14.15.1-win-x64.zip

@JavidNoshadi
Copy link

i couldn't do it. i had to download ver 13.14.0

@Astara
Copy link

Astara commented Dec 21, 2020

It doesn't sound like actual support is checked for -- those purchasing extended support for Win7 are supported through 2023.

@TheGemDev
Copy link

TheGemDev commented Feb 19, 2021

I solved this by installing the latest version which is compatible with windows 8. (12.13.0).
It creates a nodejs folder containing all the files :)

image

download the windows binary(.zip) and extract it to the nodejs folder.

after that, I tried node -v and

image

at the moment that the latest nodejs LTS version.

I hope this helps 😄

@miladtsx
Copy link

I've downloaded this version (14.15) and set NODE_SKIP_PLATFORM_CHECK=1 in windows 7 environment variables; now its working but it says:

Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
check, but Node.js might not execute correctly. Any issues encountered on
unsupported platforms will not be fixed

@Astara
Copy link

Astara commented Sep 20, 2021 via email

@gruber123
Copy link
Author

gruber123 commented Sep 21, 2021

Thinking about expiration some os it's very wrong thinking and demanding in open source software that was programmed for all OSes that were supported before.
For now on my computer win7 node version 16.6.2 working . Later versions show disgusting errors from very professional programming code, i will propose crush for node in the future at all meanings.

@Snoradbe
Copy link

Any ideas how to use version 16 on windows 7? The discord.js library needs at least version 16, but I was able to run at most 15.14.0 version

@TerminalPR0
Copy link

#33000 (comment)

after installation according to the instructions, at startup it gives an error: "The entry point to the GetHostNameW procedure was not found in the DLL WS2_32.dll library"
OS: Windows 7 x64
What do you say?

@Chidubem100
Copy link

I've downloaded this version (14.15) and set NODE_SKIP_PLATFORM_CHECK=1 in windows 7 environment variables; now its working but it says:

Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
check, but Node.js might not execute correctly. Any issues encountered on
unsupported platforms will not be fixed

I'm having the same issue. Please how can I solve it.

@miladtsx
Copy link

@Chidubem100 please describe your issue.

@cmadnmz
Copy link

cmadnmz commented Nov 5, 2021

(@gruber123, @nu8, @xCykrix )

Assuming Windows 7 x64 bit.

Look for latest version in https://nodejs.org/download/nightly/ for examplev15.0.0-nightly20200615f645cc7318/. Enter that 'folder', downloading either the https://nodejs.org/download/nightly/v15.0.0-nightly20200615f645cc7318/node-v15.0.0-nightly20200615f645cc7318-win-x64.zip or https://nodejs.org/download/nightly/v15.0.0-nightly20200615f645cc7318/node-v15.0.0-nightly20200615f645cc7318-win-x64.7z

(Don't download the MSI unless you want to extract the files from it with msiexec.exe /a "C:\Users\Elad\Desktop\node-v15.0.0-nightly20200615f645cc7318-x64.msi" /qb /l %TEMP%\log.txt TARGETDIR="C:\Users\Elad\Desktop\node-v15.0.0-nightly20200615f645cc7318-x64").

Extract the files into a new folder, C:\nodejs64 (for example), after the extraction you should have C:\nodejs64\node.exe.

Go to System-Properties (run: systempropertiesadvanced.exe), in Advanced tab, click Environment Variables.

On the System variables area, look for path and double click that line. add ;C:\nodejs64; at the end of the line, and click OK.

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.

Note, the previous version of this comment has some more information about cleaning up PATH and using c:\nodejs64\install_tools.bat it is a bit long but might still worth reading (click the 'edited' part in the answer to read the previous versions of it).

I cant bruh you can help me ?

@Ayushgup85
Copy link

I am facing difficulty in installing nodejs version 14 on windows 7. Could anyone please help me?

@gruber123
Copy link
Author

gruber123 commented Jan 1, 2022

Use
https://github.com/coreybutler/nvm-windows/releases
And install with this tool version 14.17.6

@Velodata
Copy link

Velodata commented Feb 3, 2022

I'd like to add a specific requirement which I personally discovered regarding Node v14 and Windows 7 is this...

The Environment Flag NODE_SKIP_PLATFORM_CHECK does indeed work, but only on Node versions 14.5 or higher.

I can confirm it works Node v14.5 - Node v14.15, but it's important to not load the .msi release, but rather, the .zip release.

https://nodejs.org/api/cli.html#cli_node_skip_platform_check_value

@matifagith
Copy link

I have Windows 7 x32 bit.
How can i solve it ?

@mscdex
Copy link
Contributor

mscdex commented Mar 30, 2022

@matifagith By upgrading your operating system.

@charlescanato
Copy link

@eladkarako thanks! In case anyone has problems, this version of node should work fine for Windows 7 if you follow all the great instructions @eladkarako provided. https://nodejs.org/dist/v14.15.1/node-v14.15.1-win-x64.zip

and thank YOU too - in v14.19.3 it seems the switch doesn't work anymore... downloaded v14.15.1 and voilá! Thanks man!

@miladtsx
Copy link

I think maybe you could install the latest node.js version using the n package.

@lorand-horvath
Copy link
Contributor

lorand-horvath commented Jul 9, 2022

@eladkarako thanks! In case anyone has problems, this version of node should work fine for Windows 7 if you follow all the great instructions @eladkarako provided. https://nodejs.org/dist/v14.15.1/node-v14.15.1-win-x64.zip

and thank YOU too - in v14.19.3 it seems the switch doesn't work anymore... downloaded v14.15.1 and voilá! Thanks man!

The environment variable should still work for node 14.19 or 14.20 in Windows 7 - it's still documented here https://nodejs.org/docs/latest-v14.x/api/cli.html#cli_node_skip_platform_check_value
Anyone tried?

@lorand-horvath
Copy link
Contributor

lorand-horvath commented Jul 10, 2022

Just tried 14.20.0 - doesn't work anymore. Only 14.15.1, which is very old...

@AgustinCrow
Copy link

For those that have win 7 32 bit follow the instructions of creation new environment variable that was mentioned before and later of all uninstall Node from control panel, that worked for me. Before uninstall node kept appears node version 12.0, after uninstall come out version 18.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests