embroider: Windows 7/10 - Build fails just after enabling embroider on an existing app
Hi.
I have a working application using ember v3.4.8 and I have followed the instructions in the readme to try embroider.
So I have updated the file ember-cli-build.js and run ember build.
It fails with:
Build Error (OneShot)
[BABEL] unknown: ._parallelBabel is not a valid Plugin property
at ImportParser (embroider:core:import-parser)
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new ImportParser (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\import-parser.js:36:9)
at V1Addon.parseImports (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:187:16)
at V1Addon.buildAddonTestSupport (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:481:42)
at V1Addon.build (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:617:14)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Trees (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:335:45)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Tree [as v2Tree] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:326:52)
at oldPackages.map.pkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:42:48)
-~- (end) -~-
Stack Trace and Error Report: c:\DEVELO~1\tmp/error.dump.fe5e29e0269d89f4157130e26526ae3f.log
The stack trace:
ERROR Summary:
- broccoliBuilderErrorStack: Error: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at Object.keys.forEach.key (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\validation\plugins.js:52:56)
at Array.forEach (<anonymous>)
at validatePluginObject (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\validation\plugins.js:50:20)
at instantiatePlugin (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:209:55)
at cachedFunction (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\caching.js:33:19)
at loadPluginDescriptor (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:200:10)
at config.plugins.reduce (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:69:20)
at Array.reduce (<anonymous>)
at recurseDescriptors (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:67:38)
at loadFullConfig (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:108:6)
- code: [undefined]
- codeFrame: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at ImportParser (embroider:core:import-parser)
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new ImportParser (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\import-parser.js:36:9)
at V1Addon.parseImports (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:187:16)
at V1Addon.buildAddonTestSupport (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:481:42)
at V1Addon.build (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:617:14)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Trees (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:335:45)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Tree [as v2Tree] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:326:52)
at oldPackages.map.pkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:42:48)
-~- (end) -~-
- errorMessage: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at ImportParser (embroider:core:import-parser)
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new ImportParser (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\import-parser.js:36:9)
at V1Addon.parseImports (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:187:16)
at V1Addon.buildAddonTestSupport (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:481:42)
at V1Addon.build (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:617:14)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Trees (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:335:45)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Tree [as v2Tree] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:326:52)
at oldPackages.map.pkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:42:48)
-~- (end) -~-
at OneShot
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new OneShot (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\one-shot.js:14:9)
at Object.cachedBuildCompatAddon [as default] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:15:16)
at CompatAddons.movedAddons.map.oldPkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\compat-addons.js:39:105)
at Array.map (<anonymous>)
at new CompatAddons (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\compat-addons.js:39:63)
at Object.defaultPipeline [as compatBuild] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\default-pipeline.js:17:18)
at module.exports (c:\development\projects\git\insurance-online-ui\ember-cli-build.js:97:38)
at Builder.readBuildFile (c:\development\projects\git\insurance-online-ui\node_modules\ember-cli\lib\models\builder.js:52:14)
at Builder.setupBroccoliBuilder (c:\development\projects\git\insurance-online-ui\node_modules\ember-cli\lib\models\builder.js:66:22)
-~- (end) -~-
- errorType: Build Error
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- treeDir: [undefined]
- message: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at ImportParser (embroider:core:import-parser)
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new ImportParser (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\import-parser.js:36:9)
at V1Addon.parseImports (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:187:16)
at V1Addon.buildAddonTestSupport (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:481:42)
at V1Addon.build (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:617:14)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Trees (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:335:45)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Tree [as v2Tree] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:326:52)
at oldPackages.map.pkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:42:48)
-~- (end) -~-
at OneShot
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new OneShot (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\one-shot.js:14:9)
at Object.cachedBuildCompatAddon [as default] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:15:16)
at CompatAddons.movedAddons.map.oldPkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\compat-addons.js:39:105)
at Array.map (<anonymous>)
at new CompatAddons (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\compat-addons.js:39:63)
at Object.defaultPipeline [as compatBuild] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\default-pipeline.js:17:18)
at module.exports (c:\development\projects\git\insurance-online-ui\ember-cli-build.js:97:38)
at Builder.readBuildFile (c:\development\projects\git\insurance-online-ui\node_modules\ember-cli\lib\models\builder.js:52:14)
at Builder.setupBroccoliBuilder (c:\development\projects\git\insurance-online-ui\node_modules\ember-cli\lib\models\builder.js:66:22)
-~- (end) -~-
- name: BuildError
- nodeAnnotation: [undefined]
- nodeName: OneShot
- originalErrorMessage: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at ImportParser (embroider:core:import-parser)
-~- created here: -~-
at new Plugin (c:\development\projects\git\insurance-online-ui\node_modules\broccoli-plugin\index.js:7:31)
at new ImportParser (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\import-parser.js:36:9)
at V1Addon.parseImports (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:187:16)
at V1Addon.buildAddonTestSupport (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:481:42)
at V1Addon.build (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:617:14)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Trees (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:335:45)
at V1Addon.<anonymous> (c:\development\projects\git\insurance-online-ui\node_modules\typescript-memoize\dist\memoize-decorator.js:67:52)
at V1Addon.get v2Tree [as v2Tree] (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\v1-addon.js:326:52)
at oldPackages.map.pkg (c:\development\projects\git\insurance-online-ui\node_modules\@embroider\compat\src\build-compat-addon.js:42:48)
-~- (end) -~-
- stack: Error: [BABEL] unknown: ._parallelBabel is not a valid Plugin property
at Object.keys.forEach.key (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\validation\plugins.js:52:56)
at Array.forEach (<anonymous>)
at validatePluginObject (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\validation\plugins.js:50:20)
at instantiatePlugin (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:209:55)
at cachedFunction (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\caching.js:33:19)
at loadPluginDescriptor (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:200:10)
at config.plugins.reduce (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:69:20)
at Array.reduce (<anonymous>)
at recurseDescriptors (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:67:38)
at loadFullConfig (c:\development\projects\git\insurance-online-ui\node_modules\@babel\core\lib\config\full.js:108:6)
=================================================================================
I was just testing so there is no rush here. I will switch back to good ol’ Broccoli and that’s it.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 22 (3 by maintainers)
Sure. I will leave this issue open to give other contributors the chance to provide their input.
Edit: BTW, I want to take advantage of this issue to express my gratitude to all developers working on embroider and other Ember initiatives, your work is crucial and much appreciated. Thanks a lot!
@HerveSeger, @btecu, @ChristopherConnock could you please, retest it againist https://github.com/embroider-build/embroider/pull/228 ? (don’t forget to compile soures)
I just tried and I get the same error as @ChristopherConnock.
C:\Temp\embroider\508a9c\c:\projects\git\insurance-online-ui\node_modules\@ember contains invalid WIN32 path characters.The stack trace is identical to what is displayed above.