node.exe Entry Point Not Found

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Post Reply
User avatar
DimitriAus
Rank I - Novice
Posts: 14
Joined: Thu Sep 15, 2011 7:10 am
Location: Sydney

node.exe Entry Point Not Found

Post by DimitriAus »

Error titled 'node.exe Entry Point Not Found': 'The procedure entry point GetHostNameW could not be located in the dynamic link library WS2_32.dll
while Batch Wizard websites based on Wordpress. A pure html or php websites are ok.

Windows 7 only. On Windows 10 it pause on the same place of the scanning but without an error.
I missed the moment when exactly as I do not use it much, it seems started in the latest version(s) 22.0220


error screenshot
Capture.PNG
Capture.PNG (49.25 KiB) Viewed 4337 times
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: node.exe Entry Point Not Found

Post by Albert Wiersch »

Hello,

I'm sorry for the trouble.

I found this:
https://github.com/nodejs/node/issues/33000
and
https://github.com/nodejs/node/pull/31954
and
https://stackoverflow.com/questions/622 ... -windows-7

So it looks like the version of Node.js that comes with CSS HTML Validator 2022 is not actually Windows 7 compatible.

If you must use Windows 7, then you can try using an older version of Node.js, like v13:
https://nodejs.org/download/release/v13.14.0/

I've read that Node.js v13.6.0 is the last tested (with Windows 7) version:
https://nodejs.org/download/release/v13.6.0/

Someone also mentions setting an environment variable as a workaround in Node.js v14 (but only for certain versions?):
https://stackoverflow.com/a/64626035/984632

So my suggestion on your Windows 7 machine is to download Node.js v13.6.0 (either the 32-bit or 64-bit version should work) and replace the node.exe file in the Node.js folder in CSS HTML Validator's installation folder. This is usually something like C:\Program Files\HTMLValidator220\Node.js

Please let me know if the above works if you try it.

UPDATE: In the next update of CSS HTML Validator 2022, it should set the NODE_SKIP_PLATFORM_CHECK environment variable to "1" if using Windows 7. I have not fired up my old Windows 7 machine and tested this but hopefully it will address this issue.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: node.exe Entry Point Not Found

Post by Albert Wiersch »

I've posted a new message with a fix for this Windows 7 issue here:
viewtopic.php?t=3310
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply