Skip to content
Konrad K Sobon edited this page May 4, 2017 · 1 revision

HOK's firewall will block npm from executing npm init command. The way to fix that is to hard code a path to it's registry url, where npm gets all the packages.

Find a file called npmrc located in C:\Program Files\nodejs\node_modules\npm Add this to its contents:

proxy = http://1.1.1.1:3128/
https_proxy = http://1.1.1.1:3128/
strict-ssl = false
ca = null
registry = http://registry.npmjs.org/

Done!

Clone this wiki locally