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]: Cannot set properties of undefined (setting 'identifier')
error when using plugin-proposal-decorators
legacy with plugin-transform-block-scoping
#15295
Comments
Hey @charlessuh! 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. |
Cannot set properties of undefined (setting 'identifier')
error when using plugin-proposal-decorators
with plugin-transform-block-scoping
Cannot set properties of undefined (setting 'identifier')
error when using plugin-proposal-decorators
legacy with plugin-transform-block-scoping
This line appears to be throwing the error: https://github.com/babel/babel/pull/8566/files#diff-fb3ce34c7f7df7457153d3f43ef3fe7f02074361968b11b045932930db4e44fdR334 |
I can reproduce it with the latest release, but not in the main branch, not sure if it's because of #15200. |
Lets try releasing and see if it fixes the bug then :) |
After the update the problem disappeared.馃槀 |
@charlessuh Can you confirm that updating all your Babel dependencies fixed this for you? |
It may not be fully related, but we are seeing something similar here: storybookjs/storybook#20382. We were able to resolve by reverting to an older version of |
@liuxingbaoyu I just tried v7.20.8 with no luck, but v7.20.5 does in fact work properly. |
@cjones26 v7.20.9 has been released, has the problem been solved? |
@liuxingbaoyu I don't see the new release (v7.20.9) on npm , where can we find it? |
Hello. We use 3rd party bundling tool that has depth |
Delete |
@nicolo-ribaudo thanks. With |
馃捇
How are you using Babel?
@babel/cli
Input code
Configuration file name
.babelrc
Configuration
Current and expected behavior
Current:
Environment
System:
OS: macOS 13.1
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
npmPackages:
@babel/cli: ^7.19.3 => 7.19.3
@babel/plugin-proposal-decorators: ^7.20.5 => 7.20.5
@babel/plugin-transform-block-scoping: ^7.20.5 => 7.20.5
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: