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

unable to resolve babel plugin @babel/plugin-proposal-private-methods from /tmp/embroider/41c7ff/tests/dummy #1036

Open
NullVoxPopuli opened this issue Dec 3, 2021 · 2 comments

Comments

@NullVoxPopuli
Copy link
Collaborator

NullVoxPopuli commented Dec 3, 2021

In this Ci Run: https://github.com/NullVoxPopuli/ember-statechart-component/runs/4413261031?check_suite_focus=true#step:5:135
from this PR: NullVoxPopuli/ember-statechart-component#149
which is trying to get around: emberjs/ember-cli-babel#419

I've run in to this error:

- message: unable to resolve babel plugin @babel/plugin-proposal-private-methods from /tmp/embroider/41c7ff/tests/dummy
        at WaitForTrees (@embroider/compat/app)
-~- created here: -~-
    at new Plugin (/home/runner/work/ember-statechart-component/ember-statechart-component/node_modules/@embroider/core/node_modules/broccoli-plugin/dist/index.js:47:36)
    at new WaitForTrees (/home/runner/work/ember-statechart-component/ember-statechart-component/node_modules/@embroider/core/src/wait-for-trees.js:30:9)
    at CompatApp.get tree (/home/runner/work/ember-statechart-component/ember-statechart-component/node_modules/@embroider/core/src/build-stage.js:26:16)
    at CompatApp.<anonymous> (/home/runner/work/ember-statechart-component/ember-statechart-component/node_modules/typescript-memoize/dist/memoize-decorator.js:132:52)

which, I don't quite understand, because this plugin should not be used?
my targets declare that I don't need private-method transformation. 🤔

I tried

❯ npx browserslist --update-db
Latest version:     1.0.30001284
Installed version:  1.0.30001284
caniuse-lite is up to date
caniuse-lite has been successfully updated

No target browser changes

but my browsers list is already up to date.

NullVoxPopuli added a commit to NullVoxPopuli/ember-statechart-component that referenced this issue Dec 3, 2021
temporarily tries to get around the issue reported here:
embroider-build/embroider#1036
@NullVoxPopuli
Copy link
Collaborator Author

NullVoxPopuli commented Dec 3, 2021

forcing the plugin to exist doesn't help either, which confuses me

https://github.com/NullVoxPopuli/ember-statechart-component/pull/149/files#diff-efa7561fd196a5304c1c80012f1f6153c58faf5697ba3a59465ae7ce06b8e550R49-R62

embroiderSafe({
  npm: {
    devDependencies: {
      '@babel/plugin-proposal-private-methods': '^7.0.0',
    },
  },
}),

@NullVoxPopuli
Copy link
Collaborator Author

Related issue: #979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant