Unable to locate the program entry point getHostNameW in the dynamic link library WS2_32.dll

When installing node 14.20.0 version in Windows 7 system , run node -v in cmd, it will prompt an error message " The entry cannot be found and the program input point GetHostNameW can not be located on the dynamic link library WS2_32.dll ",

Reason: The downloaded node version is too high

Solution: Download node 13.14.0 with a lower version

If you need to download the node 14 version on win7, you can refer to this link: How to install Node.js 14 (and higher) on Windows 7

Guess you like

Origin blog.csdn.net/qq_35971976/article/details/128205727