Doing following worked for me on a windows PC.Try this : open
Control Panel\System and Security\Windows Defender Firewall\Allowed apps
Next look for node.js in the list and click change settings > Make sure private access is checked and then click ok.