-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Error when creating a new project #2751
Comments
I didn't fully get that part. Where did you find this .msi file? |
Sorry I clearly wasn't thinking when I typed that, here's what I meant to write: Steps to Reproduce
|
I’d appreciate if you could cross-post this in Yarn repo. |
I get this same error without yarn
|
@gaearon , I'm getting this error with npm v3/4/5 (node v6 and 8), and yarn (npm uninstalled), Windows 7 x64. At first I thought it was an issue with my network connection, or a problem with npm, or my virus checker, but npm/yarn will quite happily install something like preact-cli without any problems. It's got me completely foxed because it worked fine in the past. It never aborts in the same place in the installation, but it's always the same error:
|
Can you try clearing your npm and Yarn cache? |
Yes. I tried that too. Same error, but this time it aborted immediately instead of running through a few packages first.
|
I am also seeing this, can reproduce the bug through @andywillis steps. Note: yarn is not installed. To reproduce:
|
We can't help more since the error is so transient. It might be caused by a buggy npm or Yarn version, a bad npm registry proxy, a bad internet connection, etc. |
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
This bug is not reproducible with NPM. It only affects create-react-app when Yarn is installed.
Environment
node -v
: 6.11.0npm -v
: 4.6.1yarn --version
:Tested with:
0.27.5
0.26.0
0.25.1
npm ls react-scripts
: Not applicable, doesn't get this far to check.Operating system:
Windows 8.1 Pro
Steps to Reproduce
npm install -g create-react-app
create-react-app myapp
Expected Behavior
New project is created.
Actual Behavior
The following error is encountered.
Full output from the command line here.
As mentioned above this only happens when Yarn is installed and therefore create-react-app uses it for creating the project. If I uninstall Yarn the process completes successfully with NPM.
I'm looking for guidance on how I should attempt to debug this. This might end up being a Yarn issue.
The text was updated successfully, but these errors were encountered: