-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have a PR testing this here: NullVoxPopuli/website#61
this is using the base embroider config with maximum compatibility:
const { Webpack } = require('@embroider/webpack');
return require('@embroider/compat').compatBuild(app, Webpack, {
});I get the error:
Build Error (WaitForTrees)
unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
here is the full log
=================================================================================
ENV Summary:
TIME: Sat Aug 28 2021 14:23:32 GMT-0400 (Eastern Daylight Time)
TITLE: ember
ARGV:
- π /.volta/tools/image/node/14.17.5/bin/node
- /βοΈ/nullvoxpopuli.com/node_modules/.bin/ember
- serve
EXEC_PATH: π /.volta/tools/image/node/14.17.5/bin/node
TMPDIR: /tmp
SHELL: /bin/bash
PATH:
- /tmp/yarn--1630174997700-0.6973971208067318
- /βοΈ/nullvoxpopuli.com/node_modules/.bin
- π /.config/yarn/link/node_modules/.bin
- π /.yarn/bin
- π /.volta/tools/image/node/14.17.5/libexec/lib/node_modules/npm/bin/node-gyp-bin
- π /.volta/tools/image/node/14.17.5/lib/node_modules/npm/bin/node-gyp-bin
- π /.volta/tools/image/node/14.17.5/bin/node_modules/npm/bin/node-gyp-bin
- π /.volta/tools/image/npm/7.7.5/bin
- π /.volta/tools/image/yarn/1.22.11/bin
- π /.volta/tools/image/node/14.17.5/bin
- π /.volta/bin
- π /.pythons/Python-3.6.3/bin
- π /.cargo/bin
- π /Applications
- π /apps/phantomjs/bin
- π /scripts/system-utils
- π /scripts/git
- π /scripts/rails
- π /scripts
- π /.volta/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /snap/bin
- π /.dotnet/tools
- π /.dotnet/tools
- π /.fzf/bin
PLATFORM: linux x64
FREEMEM: 558575616
TOTALMEM: 17388204032
UPTIME: 2293296.63
LOADAVG: 1.72,1.16,0.8
CPUS:
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
- Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz - 3192
ENDIANNESS: LE
VERSIONS:
- ares: 1.17.2
- brotli: 1.0.9
- cldr: 39.0
- icu: 69.1
- llhttp: 2.1.3
- modules: 83
- napi: 8
- nghttp2: 1.42.0
- node: 14.17.5
- openssl: 1.1.1k
- tz: 2021a
- unicode: 13.0
- uv: 1.41.0
- v8: 8.4.371.23-node.76
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: Error: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
at /βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:323:19
at /βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:315:76
at arrayAggregator (/βοΈ/nullvoxpopuli.com/node_modules/lodash/_arrayAggregator.js:17:32)
at Object.default (/βοΈ/nullvoxpopuli.com/node_modules/lodash/_createAggregator.js:19:12)
at defaultMerger (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:315:61)
at MacrosConfig.get userConfigs [as userConfigs] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:182:55)
at Object.get userConfigs [as userConfigs] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:258:36)
at Object.get params [as params] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/glimmer/ast-transform.js:90:35)
at maybeHTMLBars (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/portable.js:204:42)
at Portable.dehydrate (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/portable.js:48:24)
- code: [undefined]
- codeFrame: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
- errorMessage: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
at WaitForTrees (@embroider/compat/app)
-~- created here: -~-
at new Plugin (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/node_modules/broccoli-plugin/dist/index.js:47:36)
at new WaitForTrees (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/wait-for-trees.js:30:9)
at CompatApp.get tree (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/build-stage.js:26:16)
at CompatApp.<anonymous> (/βοΈ/nullvoxpopuli.com/node_modules/typescript-memoize/dist/memoize-decorator.js:100:52)
at new PackagerRunner (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/to-broccoli-plugin.js:11:26)
at Object.defaultPipeline (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/compat/src/default-pipeline.js:43:12)
at module.exports (/βοΈ/nullvoxpopuli.com/ember-cli-build.js:61:39)
at Builder.readBuildFile (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:49:14)
at Builder.setupBroccoliBuilder (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:63:22)
at new Builder (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:29:10)
-~- (end) -~-
- errorType: Build Error
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- treeDir: [undefined]
- message: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
at WaitForTrees (@embroider/compat/app)
-~- created here: -~-
at new Plugin (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/node_modules/broccoli-plugin/dist/index.js:47:36)
at new WaitForTrees (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/wait-for-trees.js:30:9)
at CompatApp.get tree (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/build-stage.js:26:16)
at CompatApp.<anonymous> (/βοΈ/nullvoxpopuli.com/node_modules/typescript-memoize/dist/memoize-decorator.js:100:52)
at new PackagerRunner (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/to-broccoli-plugin.js:11:26)
at Object.defaultPipeline (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/compat/src/default-pipeline.js:43:12)
at module.exports (/βοΈ/nullvoxpopuli.com/ember-cli-build.js:61:39)
at Builder.readBuildFile (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:49:14)
at Builder.setupBroccoliBuilder (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:63:22)
at new Builder (/βοΈ/nullvoxpopuli.com/node_modules/ember-cli/lib/models/builder.js:29:10)
-~- (end) -~-
- name: Error
- nodeAnnotation: @embroider/compat/app
- nodeName: WaitForTrees
- originalErrorMessage: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
- stack: Error: unknown object passed to sourceOfConfig(). You can only pass back the configs you were given.
at /βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:323:19
at /βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:315:76
at arrayAggregator (/βοΈ/nullvoxpopuli.com/node_modules/lodash/_arrayAggregator.js:17:32)
at Object.default (/βοΈ/nullvoxpopuli.com/node_modules/lodash/_createAggregator.js:19:12)
at defaultMerger (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:315:61)
at MacrosConfig.get userConfigs [as userConfigs] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:182:55)
at Object.get userConfigs [as userConfigs] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/macros-config.js:258:36)
at Object.get params [as params] (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/macros/src/glimmer/ast-transform.js:90:35)
at maybeHTMLBars (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/portable.js:204:42)
at Portable.dehydrate (/βοΈ/nullvoxpopuli.com/node_modules/@embroider/core/src/portable.js:48:24)
=================================================================================
So, I'm not sure where the issue is, because the entire stack seems to come from embroider/typescript-memoize? idk
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels