Create react app is broken because of 7.9.0
See original GitHub issuehttps://github.com/facebook/create-react-app/issues/8680
Describe the bug
Running npm run build will fail on any project, even on a vanilla app created with create-react-app will fail with the following error:
Error: [BABEL] /Users/<username>/Projects/my-app/src/index.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/Users/<username>/Projects/my-app/node_modules/babel-preset-react-app/index.js$0")
at Array.map (<anonymous>)
at Generator.next (<anonymous>)
at Generator.next (<anonymous>)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:25
- Comments:19 (8 by maintainers)
Top Results From Across the Web
create-react-app is not working since version 4.0.1
So to fix the error you're getting, uninstall create-react-app globally, update npm, clear the cache, and retry creating the app. Run this in ......
Read more >Firebase JavaScript SDK Release Notes - Google
Fixed a packaging issue that broke the Firebase Admin Node.js SDK. see Github ... the default production build for Create React App. See...
Read more >What's new in Create-React-App v4 & React 17 - Patrick Ullrich
Create -React-App's (CRA) boilerplate now comes set up to record those measurements out of the box. If you want to see the values...
Read more >Troubleshooting - Create React App
The build failed because the process exited too early. This probably means the ... This may be a problem with case sensitive filenames....
Read more >Upgrading to React 17 and Webpack 5 | by Chameera Dulanga
Gradual updates or quite simply, being able to use more than a single version of React components in the same web app, is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try adding
"@babel/compat-data": "~7.8.0"
to your"devDependencies"
, deleting"@babel/compat-data"
frompackage-lock.json
and runningnpm install
.If you are using yarn, this is better: https://github.com/facebook/create-react-app/issues/8680#issuecomment-601851525
@Lukavyi please read my comment within the thread: https://github.com/facebook/create-react-app/issues/8680#issuecomment-601820935