Cannot install install node modules

I am unable to run npm installs on my zorin pc
it does not work.. I have excellent internet connection but I cannot install
node modules on pc

Have you run

sudo apt update and sudo apt upgrade && sudo apt install nodejs npm

?

Its still not working

Can you be more specific by what "not working" means?
Is it running but failing? Giving an error? Nothing at all happens?

When I want to connect to a website, I get the following error

This site can’t be reached

The connection was reset.

Try:

ERR_CONNECTION_RESET

Reload..

For clarity: You mean that when connecting to a website for node server, not when you connect ordinarily using your browser, correct?