Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection refused by npm to install Create-React-App #11625

Closed
CutieCat6778 opened this issue Nov 5, 2021 · 7 comments
Closed

Connection refused by npm to install Create-React-App #11625

CutieCat6778 opened this issue Nov 5, 2021 · 7 comments

Comments

@CutieCat6778
Copy link

Some how, the npm doesn't allow me to install create-react-app package. After some momment, the installation stoped by the timeout and it returns that the connection has been refused to the server.

npm ERR! request to https://registry.npmjs.org/create-react-app failed, reason: connect EHOSTUNREACH 2606:4700::6810:1023:443
@ulrichstark
Copy link

I dont think this is a problem with npm or create-react-app but rather with your network configuration.
Can you access npmjs.org or npmjs.com in your browser?

@behroodrzdr
Copy link

i have also these problem when run npm init react-app my-app, i had try to use vpn over my connection but didn't work, also try via yarn but didn't help.

@CutieCat6778
Copy link
Author

Hey, I found my error. Just switch to another network, cause I'm connecting to my Wifi-forwarder and the internet logics their is kinda dumb. Just change the Wifi.

@behroodrzdr
Copy link

Hi, for me that’s not true beacuse i change my connection and there is not different , i found my problem for init create-react-app with yarn or npm, that was for my npm registration url for private url, so i comment it from npm config and was solved for me,

@CutieCat6778
Copy link
Author

Hey, I dunno. But when I change my Wifi, it just fix it magicly :)))

@behroodrzdr
Copy link

don't touch it if it's working :) ;)

@upright39
Copy link

i am having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants