Q
Q
Quintis2019-10-28 14:36:10
Node.js
Quintis, 2019-10-28 14:36:10

Who can help with proxy settings for node js?

Hello. When installing npm install create-react-app -g, an error occurs:

Your environment has been set up for using Node.js 12.13.0 (x64) and npm.

C:\Users\Мiша>npm install create-react-app -g
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npmjs.org/create-react-app failed, r
eason: getaddrinfo ENOTFOUND xx.aa.bb.cc
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 settin
gs.
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\Мiша\AppData\Roaming\npm-cache\_logs\2019-10-28T11_23_15_0
84Z-debug.log

C:\Users\Мiша>

node js config:
registry= registry.npmjs.org
proxy= xx.aa.bb.cc/:port
proxy=null
https-proxy=null
noproxy=null
user-agent=npm/{npm-version} node/{node- version} {platform} {arch} {ci}
npm config set registry registry registry.npmjs.org/, npm config get proxy, npm config rm proxy, npm config rm https-proxy did not help, or maybe I'm doing something wrong Who can explain what is wrong and what to do. Last week everything was fine until I installed CCleaner. Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question