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]: TypeError: Cannot set properties of undefined (setting 'kind') #15302
Comments
Hey @reesscot! 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 are also experiencing a similar issue for a react-app with the following versions:
The earlier error was |
A fix would be checking that every call to |
Maybe in the second one we could run a crawl if the binding is not present. |
I went back a version for @babel/plugin-transform-block-scoping and my react application is now building successfully again. |
I'm 100% willing to help out, however I do not have sufficient knowledge to understand:
@liuxingbaoyu you seem to have 馃憤'd it, do you understand? Do you want help? |
I'm also a bit hesitant to ask.. but would a roll-back to I could provide a environment, in which you can replace some |
Thanks, this is a good work-around for now. |
@ndelangen v7.20.9 has been released, has the problem been solved? |
Going to try now! |
Looking positive! |
can't find v7.20.9: https://www.npmjs.com/package/@babel/core?activeTab=versions |
@barbalex The bug/fix is in |
@nicolo-ribaudo Thanks!
and the build works again! Thanks so much for your effort and help! |
Hi I had the same problem, By setting I solved. Thank you |
@barbalex Now you can also remove it from your package.json! The process you did updated the your lockfile, and now that the lockfile is updated you won't get the old version anymore :) |
@nicolo-ribaudo Wow. The marvels of lockfiles. Glad to be helped by guys with more insight! |
I can confirm that I'm no longer seeing the error after installing |
Thank you @nicolo-ribaudo and everyone else that helped. I wish I could have done more to help myself. Really truly appreciative of the quick fixes, thank you. |
馃捇
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Seeing the error:
Seems related to #15300 and
Configuration file name
No response
Configuration
No response
Current and expected behavior
After release @babel/plugin-transform-block-scoping v7.20.8 seeing the error above.
Environment
System:
OS: macOS 12.6.1
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Possible solution
Does #15200 need to be reverted until the issues are all fixed?
Additional context
No response
The text was updated successfully, but these errors were encountered: