RE: How to turn off proxy with blade?

Harry Lulkoek, modified 8 Years ago. New Member Posts: 2 Join Date: 11/12/17 Recent Posts
How can I turn of the proxy settings on my machine for npm? I tried to remove the proxy settings from my .npmrc file to no avail. I am using this command:

> blade gw wrapper

see also:https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/7-0/blade-cli

In the console I get this 'npm' error:
Ariel Barria, modified 8 Years ago. New Member Post: 1 Join Date: 11/13/17 Recent Posts
Harry Lulkoek:
How can I turn of the proxy settings on my machine for npm? I tried to remove the proxy settings from my .npmrc file to no avail. I am using this command:

> blade gw wrapper

see also:https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/7-0/blade-cli

In the console I get this 'npm' error:



Hi Harry.

Can you try this?

//allows you to list all the values you have set
npm config ls -l

//get the specific values configured
npm config get https-proxy
npm config get proxy

//delete them if it has any value
npm config delete proxy
npm config delete https-proxy

//verify its value again
npm config get https-proxy
npm config get proxy


//Another way is by erasing directly in from the file
npm config edit