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

There appears to be trouble with your network connection. Retrying... (for create-react-native-app command) #6392

Closed
Thiague opened this issue Sep 15, 2018 · 2 comments
Assignees
Labels

Comments

@Thiague
Copy link

Thiague commented Sep 15, 2018

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Error on Yarn for create-react-native-app, as follows:

yarn install v1.9.4
[1/4] Resolving packages...
[2/4] Fetching packages...
[--------------------------------------------------------------------------------------------------------------] 0/1093(node:10572) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-2.3.2.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "C:\Users\Thiago\UdaciFitness\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

If the current behavior is a bug, please provide the steps to reproduce.
i'm trying to create react native projects, and the above error appears always when i'm creating a new project.

The bellow commands didn't worked for me:

npm config set registry "https://registry.npmjs.org"
npm config set proxy
npm config delete proxy
yarn install --network-timeout 1000000

Please mention your node.js, yarn and operating system version.
yarn v1.9.4
windows 10 home

@ghost ghost assigned torifat Sep 15, 2018
@ghost ghost added the triaged label Sep 15, 2018
@tiancihe
Copy link

Try commenting out http_proxy and https_proxy in your ~/.bashrc, restart your terminal and try again.

@oviliz
Copy link

oviliz commented May 24, 2019

This is similar to #5259 I think.

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

No branches or pull requests

4 participants