-
Notifications
You must be signed in to change notification settings - Fork 142
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
Duplicate plugin/preset detected #453
Comments
Do you have the latest ember-cli-typescript installed? If so, try to upgrade it to the |
Upgrading ember-cli-typescript may workaround this bug by not adding the duplicated babel plugins, but this is still a legit bug. Embroider should check and avoid adding duplicates. |
One of the changes in ember-cli-typescript@4 is to use a little handshake to detect a new enough ember-cli-babel version and just let ember-cli-babel set up all the TS plugins instead of how it worked in 2.x and 3.x where ember-cli-typescript had to push the plugins. That may work around the issue reported, since (IIRC) Embroider pulls the Babel options to use from ember-cli-babel... |
@nightire, application does not have direct dependency on |
Update: also with 0.19.0 I just witnessed this in 0.18.0, too. my error is with |
Also experiencing the same thing with Babel Config:
|
output of
|
+1 address to this error. I got it with a fresh and empty Embroider project once I added typescript's support. As @ef4 mentioned, upgrade to typescript 4-alpha did workaround. |
Still experiencing this in 0.22.0. I'm not using typescript. My babel config (copied from my comment above):
|
Maybe a shorterm fix: embroider-build/ember-auto-import#283 (comment) |
👋, with
0.16.1
the following error throws on rebuild(node:59760) UnhandledPromiseRejectionWarning: ModuleBuildError: Module build failed (from /Users/bobisjan/Developer/zonky-app/node_modules/babel-loader/lib/index.js):
The text was updated successfully, but these errors were encountered: