-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
can't create-react-app #4611
Comments
Did you check your internet connection? Appears to be an issue with you not having internet or a proxy blocking access to the internet. |
Same here yarn add v1.7.0 Deleting generated file... package.json |
Same, WIndows 10 WSL, npm 6.1:
|
Can reproduce, have yet to find a fix. Works fine with NPM. Environment
Attempted Fixes
Verbose Output
|
I had the same issue installing with windows but I just cloned the project with |
Fixed, worked for me:
Linking dependecies last like 40 min, but maybe it's only my hdd |
Still an issue for me unfortunately, even after following those steps 😕 |
This should not be marked closed, Yarn still fails. |
Could be related to this: #4588 (comment) |
"npm cache clean --force" solved my problem |
Hi @NoiseEee. I think this issue was closed since the root of the problem was the antivirus software running as @tzarebczan stated in his link. |
Not sure if the uninstall of create-react-app and cache clean is needed but this is what worked for me. |
Environment = Windows 10
npx create-react-app projectname
Paste the output of the command in the section below.
-->
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
yarn add v1.6.0
info No lockfile found.
[1/4] Resolving packages...
warning react-scripts > jest > jest-cli > istanbul-api > istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump
[2/4] Fetching packages...
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...
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/caniuse-lite/-/caniuse-lite-1.0.30000855.tgz: ESOCKETTIMEDOUT".
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd C:\Users...\reduxpractice has failed.
Deleting generated file... package.json
Deleting generated file... yarn-error.log
The text was updated successfully, but these errors were encountered: