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
Create react app is broken because of 7.9.0 #11292
Comments
Hey @Lukavyi! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly. If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite." |
@Lukavyi please read my comment within the thread: facebook/create-react-app#8680 (comment) |
My pipelines broke, I have the same error. Does someone have a solution for this bug? |
Try adding If you are using yarn, this is better: facebook/create-react-app#8680 (comment) |
Works for me in my Angular application. Thanks! I just add |
@wandersoncesar It's unexpected that it broke angular 🤔 |
Our pipeline is broken because of this. Can anyone recommend a react-scripts version to roll back to that works? |
|
Thank you!! |
Yeah I have a whole team staying late on a Friday afternoon for this. Why does @babel/core have caret imports of all of its children? We shouldn't be picking up every child dependency upgrade if we are still using babel/core@7.2.2 |
Because that's almost the standard for open source JS projects. Anyway, I'm really surprised that |
Locally in my macOS Catalina 10.15.0, I'm getting the following error:
my configuration is
And from jenkins, also, i'm getting the following error:
Do you know if there is a workaround for both cases? Thanks |
I don't know about the second error, but they are releasing a new CRA version with the fix! |
Fixed in create-react-app 3.4.1. It should also make the error about "createSuper" disappear (even if it's an actual bug in Babel). |
Modern development environment with babel, react and other dependencies will create havoc all the times. Changes break suddenly and errors are not clear. |
Lockfiles were introduced to help mitigate the problem of shifting dependencies. Highly recommend using one! |
this(npm i @babel/compat-data@7.8.0) works for me! thanks |
You should not be using the caret symbol if you are going to accept breaking changes into minor releases on code that you control. If you introduce breaking changes on a minor version release you should be burdened with fixing it, not everyone that depends on you. Why is this such a hard concept in the javascript industry. |
@jblevins1991 We fixed it in 7.8.7. If you depend on open source software you are not helping to maintain and you are not supporting in any way (neither with human time nor financially), you are not entitled to complain about what the maintainers are doing. I assure you that we are trying to do our best. Why is this such a hard concept in the tech industry. |
facebook/create-react-app#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:
The text was updated successfully, but these errors were encountered: