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]: isModuleDeclaration
has been deprecated, please migrate to isImportOrExportDeclaration
#15466
Comments
Hey @kiran-chauhan-rapidops! 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. |
Could you share your lockfile, to know the versions of the various Babel packages? |
Also, make sure that you have at least version 7.20.7 of |
I just had same issue after installing |
#15484 should fixed this. |
I still see the warning on core v7.21.8 where the changes in #15484 are supposed to be...
|
The warning still appears in case third party code (i.e. not code controlled by us, either now or in the past) uses the deprecated API. |
馃捇
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Stack trace
Configuration file name
No response
Configuration
No response
Current and expected behavior
This warning should not come.
Environment
Possible solution
No response
Additional context
This error is coming in one of the existing React project created using
create-react-app
. Following is the chain of the packages depends on -eslint-config-react-app > babel-preset-react-app > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/types
The text was updated successfully, but these errors were encountered: