NPM - modules and proxy

Asked

Viewed 722 times

0

Good afternoon

I am trying to install the ibm Watson module in my app, but get error below

I am in the company network... What I wanted to know is if I can "dribble" or configure this proxy somehow

C: Users birth Desktop Watson>npm i --save Watson-Developer-cloud npm ERR! code ENOTFOUND npm ERR! Errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/watson-developer-cloud 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 a 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.Julia Appdata Roaming npm-cache_logs 2018-06-25T18_25_10_407Z-debug.log

1 answer

2


You can configure the NPM proxy with commands

npm config set http_proxy http://usuario:[email protected]:porta
npm config set https_proxy  http://usuario:[email protected]:porta
  • The port is the same from my app server?

  • the port is the company’s proxy

  • why did you rank negatively?

  • I’m not the one who ranked negative O.o

Browser other questions tagged

You are not signed in. Login or sign up in order to post.