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.exe run problem on win 7 #39894

Closed
gruber123 opened this issue Aug 26, 2021 · 6 comments
Closed

node.exe run problem on win 7 #39894

gruber123 opened this issue Aug 26, 2021 · 6 comments
Labels

Comments

Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
@gruber123
Copy link

@gruber123 gruber123 commented Aug 26, 2021

Version

16.8.0

Platform

window 7 x64

Subsystem

No response

What steps will reproduce the bug?

node -v

How often does it reproduce? Is there a required condition?

each run

What is the expected behavior?

do not fail with exception and show version information

What do you see instead?

failed with exception on enter point to dll not found
2021-08-26_101516

Additional information

No response

@Ayase-252
Copy link
Member

@Ayase-252 Ayase-252 commented Aug 27, 2021

It seems GetHostNameW only works on Windows 8.1 and above. Since Windows 7 has reached EoL, we have stopped to support that platform per doc. Therefore, I'm afraid that there is no actionable step for the issue.

You could try Node.js v12.x , if you want to use Node.js in Win7.

Refs: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-gethostnamew

@antixrist
Copy link

@antixrist antixrist commented Sep 2, 2021

@gruber123 (and all who needs fix) we should vote for this pr in libuv: libuv/libuv#3285
There is little hope that pr will be accepted, but still it is

@JustOff
Copy link

@JustOff JustOff commented Oct 1, 2021

Well, now 14.18.0 gives the same error, so 14.17.6 is the only remaining option for win7 :-(

@gruber123
Copy link
Author

@gruber123 gruber123 commented Oct 1, 2021

For me the latest version 16.6.2 that works install through nvm

@bzoz
Copy link
Contributor

@bzoz bzoz commented Oct 19, 2021

Like the comments above: Node.js no longer supports Win7

@bzoz bzoz closed this Oct 19, 2021
@gruber123
Copy link
Author

@gruber123 gruber123 commented Oct 19, 2021

For node run 16.6.2 works on windows 7, but client frameworks such as angular has limited support for node.js versions. I've checked it with last LTS 14.8.1 fails with same stupid error about hostnamewa ..., finally i've set for angular version 14.15.0, i will try 14.7.6 someday,
also expo-cli runs only with versions above 15, Something weird happens with node.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment