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

throwUnlessParallelizable and was unable to parallelize a plugin #547

Open
jmonster opened this issue Apr 30, 2020 · 7 comments
Open

throwUnlessParallelizable and was unable to parallelize a plugin #547

jmonster opened this issue Apr 30, 2020 · 7 comments

Comments

@jmonster
Copy link

I think this is a silent but common problem across the ember ecosystem, but this particular repo is the one one currently blocking my project from building in parallel:

THROW_UNLESS_PARALLELIZABLE=1 yarn start
$ ember serve
[broccoli-persistent-filter:Babel > [Babel: ember-basic-dropdown]: Babel: ember-basic-dropdown] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin.
plugins:
1: name: unknown, location: unknown
@veelci
Copy link

veelci commented May 27, 2022

I'm running into the same problem using both v2.0.15 and v3.0.21 of ember-basic-dropdown in separate projects.

@cibernox
Copy link
Owner

I'm not very familiar with what makes an addon parallelizable. What can be done on this addon to make it parallel?

@teakap
Copy link

teakap commented Jul 20, 2022

@cibernox I'm experiencing the same issue. I think this is what you want to make it parallelizable:

https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation

@teakap
Copy link

teakap commented Jul 20, 2022

A bit more info about the warnings, on a fresh ember app.

After ember-power-select installation.
testing_ember_power_select

After ember-basic-dropdown installation.
testing_ember_basic_dropdown

@sly7-7
Copy link
Contributor

sly7-7 commented Aug 25, 2022

@teakap I don't know if it's related, but I just encountered this error after upgrading ember-data to 4.6. I realized that an other addon was using ember-data on 3.28. having the two pointing to 4.6, nuking node_modules, and yarn.lock file, makes the build to work again.

@cibernox I also found https://github.com/typed-ember/ember-cli-typescript/pull/351/files where it seems to workaround the problem (but to be honest, I don't understand what that mean).

@mwhitworth
Copy link

From a brief investigation (console.log calls in broccoli-babel-transpiler), I think the ember-maybe-in-element dependency is the culprit - see DockYard/ember-maybe-in-element#52 and the open PR DockYard/ember-maybe-in-element#54 to address this issue

@mwhitworth
Copy link

I think this can be closed, since the issue lies in another project (which has already addressed the issue)

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

6 participants