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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Release 7.17.0 breaks downstream plugins #14233
Comments
Hey @l0gicgate! 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. |
We need your config, or even better an example that shows the crash. |
Is this issue reproduced in |
This is related to the
However, for some reason |
@nicolo-ribaudo here's my babel config: {
"env": {
"development": {
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": false,
"version": "^7.7.4"
}
],
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"~": "./src"
}
}
]
],
"presets": [
"airbnb",
"@babel/preset-env",
"@babel/preset-react"
]
},
"production": {
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": false,
"version": "^7.7.4"
}
],
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"~": "./src"
}
}
],
["transform-react-remove-prop-types", {
"mode": "remove",
"ignoreFilenames": ["node_modules"],
"removeImport": true
}]
],
"presets": [
"airbnb",
"@babel/preset-env",
"@babel/preset-react"
]
},
"staging": {
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": false,
"version": "^7.7.4"
}
],
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"~": "./src"
}
}
],
["transform-react-remove-prop-types", {
"mode": "remove",
"ignoreFilenames": ["node_modules"],
"removeImport": true
}]
],
"presets": [
"airbnb",
"@babel/preset-env",
"@babel/preset-react"
]
}
}
} |
Are you running with |
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@jaggaer-epiccini That looks unrelated, please create a new issue with instructions to reproduce the bug |
It might be caused by this babel update, but it's a different error. Please open a new repository with some steps to reproduce the problem, and the full stack trace of that CRA error. |
@l0gicgate I tried reproducing the error at https://github.com/nicolo-ribaudo/babel-bug-1423, but it compiles succesfully (using Could you try creating a small repo I can use to see the error? |
@nicolo-ribaudo I stripped everything down as best as I could with minimal dependencies to reproduce the issue. Here's the repository: Let me know if you need anything else |
I think I'm having the same issue here: https://app.circleci.com/pipelines/github/algolia/vue-instantsearch/1473/workflows/f4cd9381-e860-4e10-bbc2-587036c5ac68/jobs/4470 |
seems related to babel/babel#14233
* ci * try patching * existing versions * lower, maybe that works seems related to babel/babel#14233
Thanks @l0gicgate; I was able to trim your repository down even more (first removing webpack, and then some ESLint stuff), and I managed to create a reproduction that only uses Babel (#14241). However, I will not be available much this weekend and next week, so it might take a while before I fix it. In the meantime, please pin |
@nicolo-ribaudo thank you for promptly addressing this. I will pin to 7.16 until #14241 gets merged! Have a good weekend! |
馃捇
How are you using Babel?
babel-loader (webpack)
Input code
Configuration file name
No response
Configuration
No response
Current and expected behavior
Not to break downstream plugins
Environment
Possible solution
No response
Additional context
This is the error that started occurring after updating from
@babel/core: 7.16.12
to7.17.0
The text was updated successfully, but these errors were encountered: