NPM package installation behind a proxy
While installing yo
behind proxy you may get issues as described in this issue
The root cause is that yo
is trying to connect to the internet while doing the sanity checks on your system using a global proxy as described here and there
I was not able to change the GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE
from undefined
to an empty variable from the powershell, so I edited the node_modules\got\index.js:requestAsEventEmitter(opts):~22
and added the following line
process.env.GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE="";