Open NullVoxPopuli opened 3 years ago
I started setting up a new blog and it seems that it works with basic Emroider now. I was also able to turn on the following Embroider options:
staticAddonTestSupportTrees: true,
staticAddonTrees: true,
staticModifiers: true,
However, if either of the following options were on, it didn't work with Embroider and it seemed to just sit there forever churning:
staticHelpers: true,
staticComponents: true,
I have a PR testing this here: https://github.com/NullVoxPopuli/website/pull/61 this is using the base embroider config with maximum compatibility:
I get the error:
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.So, I'm not sure where the issue is, because the entire stack seems to come from embroider/typescript-memoize? idk