ember-basic-dropdown icon indicating copy to clipboard operation
ember-basic-dropdown copied to clipboard

`throwUnlessParallelizable` and was unable to parallelize a plugin

Open jmonster opened this issue 4 years ago • 7 comments

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

jmonster avatar Apr 30 '20 17:04 jmonster

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

veelci avatar May 27 '22 13:05 veelci

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

cibernox avatar May 27 '22 14:05 cibernox

@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 avatar Jul 20 '22 15:07 teakap

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

teakap avatar Jul 20 '22 18:07 teakap

@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).

sly7-7 avatar Aug 25 '22 06:08 sly7-7

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

mwhitworth avatar Feb 11 '23 14:02 mwhitworth

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

mwhitworth avatar Jun 01 '23 21:06 mwhitworth