Skip to content
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

Failed to compile after eject #8070

Closed
syberen opened this issue Dec 4, 2019 · 1 comment
Closed

Failed to compile after eject #8070

syberen opened this issue Dec 4, 2019 · 1 comment

Comments

@syberen
Copy link

syberen commented Dec 4, 2019

When ejecting the project right out of the box, it fails to compile after running the eject script.

Steps to reproduce

$ npx create-react-app my-app
$ cd my-app
$ yarn eject
$ yarn start

Expected behavior
Project compiles and webpack dev server starts

Actual behavior
Error message:

Failed to compile.

./src/index.js
Error: [BABEL] /Users/syberen/projects/my-app-js/src/index.js: Cannot find module '@babel/plugin-transform-react-jsx' (While processing: "/Users/syberen/projects/my-app-js/node_modules/babel-preset-react-app/index.js$1")
    at Array.reduce (<anonymous>)
@heyimalex
Copy link
Contributor

Duplicate of #6099

@heyimalex heyimalex marked this as a duplicate of #6099 Dec 4, 2019
@lock lock bot locked and limited conversation to collaborators Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants