-
-
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
npx create-react-app fails because of core-js update. #8660
Comments
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Abosnd02 |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Though I am using Linux, I am facing exactly same problem. npx create-react-app, it seems always goes far deprecated core-js. First I thought it was a issue due to package installer (like yarn, npm etc.) But after using many package installers I came to the conclusion that this issue is completely related to 'create-react-app'. So far I've not been able to find any reasonable solution for it and it is highly likely that this is internal bug. |
Describe the bug
When I run
npx create-react-app client
, it terminates while trying to update core-js, andcore-js does not update properly.
Did you try recovering your dependencies?
C:\mitesh\javascriptcode\calendar>npm --version
6.14.2
Which terms did you search for in User Guide?
I did not find anything similar to my output.
Environment
Steps to reproduce
Expected behavior
create-react-app client will finish and tell you to cd
into client directory.
npm version core-js will display version of core-js
Actual behavior
npx create-react-app client
gives me the following output:It places me in core-js folder.
Then
npm install -g core-js
gives me the following output:Reproducible demo
To reproduce, do
npm create-react-app client
.Then corrupt your core-js dependency in
%appdata%/npm/node_modules/core-js
.(Note. I didn't corrupt my dependency myself.)
npx create-react-app client
gives me the following output:It places me in core-js folder.
Then
npm install -g core-js
gives me the following output:The text was updated successfully, but these errors were encountered: