Skip to content
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

[BUG] Class private methods are not enabled. Please add @babel/plugin-proposal-private-methods to your configuration. #163

Open
1 task done
sibelius opened this issue May 23, 2023 · 0 comments
Labels
Bug thing that needs fixing Needs Triage needs an initial review

Comments

@sibelius
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js: Class private methods are not enabled. Please add @babel/plugin-proposal-private-methods to your configuration.
210 | this.#emitter.count -= 1;
211 | }

212 | #processReallyExit(code) {
| ^
213 | /* c8 ignore start */
214 | if (!processOk(this.#process)) {
215 | return 0;

Expected Behavior

it should not require @babel/plugin-proposal-private-methods

Steps To Reproduce

try to use write-file-atomic in a jscodeshift env

Environment

  • npm: 9.6.4
  • Node: 20.1.0
  • OS: os x
  • platform: macbook pro
@sibelius sibelius added Bug thing that needs fixing Needs Triage needs an initial review labels May 23, 2023
@sibelius sibelius changed the title [BUG] <title> [BUG] Class private methods are not enabled. Please add @babel/plugin-proposal-private-methods to your configuration. May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs an initial review
Projects
None yet
Development

No branches or pull requests

1 participant