question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create react app is broken because of 7.9.0

See original GitHub issue

https://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:closed
  • Created 4 years ago
  • Reactions:25
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
nicolo-ribaudocommented, Mar 20, 2020

Try adding "@babel/compat-data": "~7.8.0" to your "devDependencies", deleting "@babel/compat-data" from package-lock.json and running npm install.

If you are using yarn, this is better: https://github.com/facebook/create-react-app/issues/8680#issuecomment-601851525

4reactions
existentialismcommented, Mar 20, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found