Fórum

How to turn off proxy with blade?

Harry Lulkoek, modificado 6 Anos atrás.

How to turn off proxy with blade?

New Member Postagens: 2 Data de Entrada: 12/11/17 Postagens Recentes
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, modificado 6 Anos atrás.

RE: How to turn off proxy with blade?

New Member Mensagem: 1 Data de Entrada: 13/11/17 Postagens Recentes
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