NPM - modules and proxy

0

Good afternoon

I'm trying to install the ibm watson module in my app, but I get error below

I'm on the corporate network ... What I wanted to know is if I can "dribble" or configure this proxy in some way

  

C: \ Users \ birth \ Desktop \ watson> npm i --save   watson-developer-cloud   npm ERR! code ENOTFOUND npm ERR! errno   ENOTFOUND npm ERR! network request to    link failed, reason:   getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443 npm   ERR! network This is a problem related to network connectivity. npm   ERR! network In most cases you are behind a proxy or have bad network   settings. npm ERR! network npm ERR! network If you are behind the proxy,   please make sure that the npm ERR! network 'proxy' config is set   properly. See: 'npm help config'

     

npm ERR! A complete log of this run can be found in: npm ERR!   C: \ Users \ birth.julian \ AppData \ Roaming \ npm-cache_logs \ 2018-06-25T18_25_10_407Z-debug.log

    
asked by anonymous 25.06.2018 / 20:37

1 answer

2

You can configure the NPM proxy with the

npm config set http_proxy http://usuario:[email protected]:porta
npm config set https_proxy  http://usuario:[email protected]:porta
    
25.06.2018 / 20:42