Html-webpack-plugin: webpack 4 production build Converting circular structure to JSON

Created on 1 Mar 2018  Â·  23Comments  Â·  Source: jantimon/html-webpack-plugin

Hi,

on newest webpack 4.0.1 and html-webpack-plugin 3.0.3 i get this error
its production build for angular 5.2.7

1ms after seal 
 95% emitting unnamed compat plugin(node:13514) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at visit (/home/stano/projects/Crossuite-ng2/node_modules/toposort/index.js:29:50)
    at visit (/home/stano/projects/Crossuite-ng2/node_modules/toposort/index.js:47:9)
    at visit (/home/stano/projects/Crossuite-ng2/node_modules/toposort/index.js:47:9)
    at Function.toposort [as array] (/home/stano/projects/Crossuite-ng2/node_modules/toposort/index.js:22:22)
    at Object.module.exports.dependency (/home/stano/projects/Crossuite-ng2/node_modules/html-webpack-plugin/lib/chunksorter.js:49:35)
    at HtmlWebpackPlugin.sortChunks (/home/stano/projects/Crossuite-ng2/node_modules/html-webpack-plugin/index.js:366:35)
    at compiler.plugin (/home/stano/projects/Crossuite-ng2/node_modules/html-webpack-plugin/index.js:108:21)
    at _err0 (eval at create (/home/stano/projects/Crossuite-ng2/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:19:1)
    at callback (/home/stano/projects/Crossuite-ng2/node_modules/copy-webpack-plugin/dist/index.js:77:17)
    at /home/stano/projects/Crossuite-ng2/node_modules/copy-webpack-plugin/dist/index.js:118:24
    at <anonymous>
(node:13514) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:13514) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Most helpful comment

work around: add chunksSortMode option and set it to "none"

All 23 comments

Could you please add a screenshot with the content of the value which is stringified?

Console response not show stringify content.
Also project is to big to puting it on code.
Is there some option or plugin modification to show corrupted content?

You can add a debugger; statement above that line and run it with node inspect:

node --inspect node_modules/.bin/webpack examples/default/webpack.config.js

I see the above from this kind of stack trace:

TypeError: Converting circular structure to JSON
2018-03-02T00:24:50.7192864Z     at JSON.stringify (<anonymous>)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:29:50)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:47:9)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:47:9)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:47:9)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:47:9)
2018-03-02T00:24:50.7192864Z     at visit (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:47:9)
2018-03-02T00:24:50.7192864Z     at Function.toposort [as array] (C:\agents\agent.01\_work\51\s\node_modules\toposort\index.js:22:22)
2018-03-02T00:24:50.7192864Z     at Object.module.exports.dependency (C:\agents\agent.01\_work\51\s\node_modules\html-webpack-plugin\lib\chunksorter.js:49:35)
2018-03-02T00:24:50.7192864Z     at HtmlWebpackPlugin.sortChunks (C:\agents\agent.01\_work\51\s\node_modules\html-webpack-plugin\index.js:366:35)
2018-03-02T00:24:50.7192864Z     at compiler.plugin (C:\agents\agent.01\_work\51\s\node_modules\html-webpack-plugin\index.js:108:21)
2018-03-02T00:24:50.7192864Z     at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\agents\agent.01\_work\51\s\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:12:1)
2018-03-02T00:24:50.7192864Z     at AsyncSeriesHook.lazyCompileHook [as _callAsync] (C:\agents\agent.01\_work\51\s\node_modules\tapable\lib\Hook.js:35:21)
2018-03-02T00:24:50.7192864Z     at Compiler.emitAssets (C:\agents\agent.01\_work\51\s\node_modules\webpack\lib\Compiler.js:287:19)
2018-03-02T00:24:50.7192864Z     at onCompiled (C:\agents\agent.01\_work\51\s\node_modules\webpack\lib\Compiler.js:157:9)
2018-03-02T00:24:50.7192864Z     at hooks.afterCompile.callAsync.err (C:\agents\agent.01\_work\51\s\node_modules\webpack\lib\Compiler.js:470:14)
2018-03-02T00:24:50.7192864Z [00:24:49] 'storybook:build' errored after 1.47 min

My code works fine with webpack 3 but 4
I also got this error, because chunksorter.js use webpack 4 chunkGroups
on line 47

Array.from(chunkGroup.parentsIterable, parentGroup => [parentGroup, chunkGroup])

If change to

Array.from(chunkGroup.parentsIterable)

It work fine with my code and i don't know why

Here is a copy of this code

    try {
        const sortedGroups = toposort.array(chunkGroups, edges);
    } catch (e) {
        console.log(edges)
        process.exit()
    }


click to expand log

[ [ ChunkGroup {
      groupDebugId: 5050,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5049,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5048,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5047,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5046,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5045,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5044,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5041,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5040,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5039,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5038,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5034,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5029,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5024,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5023,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5022,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5021,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5025,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5018,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5009,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5008,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5033,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5031,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5032,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5058,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5059,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5036,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5035,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5055,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5056,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5054,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5053,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5052,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5030,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5019,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5010,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5028,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5057,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5027,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5026,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5051,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5043,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5042,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5037,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5020,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5011,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5007,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5006,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5005,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5004,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ Entrypoint {
      groupDebugId: 5001,
      name: 'app',
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array],
      runtimeChunk: [Chunk] },
    ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5050,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5049,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5048,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5047,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5046,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5045,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5044,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5041,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5040,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5039,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5038,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5034,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5029,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5024,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5023,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5022,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5021,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5002,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5025,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5018,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5009,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5008,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5033,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5031,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5032,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5059,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5058,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5035,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5036,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5055,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5056,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5054,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5053,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5052,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5030,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5019,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5010,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5028,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5057,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5027,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5026,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5051,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5043,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5042,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5037,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5020,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5011,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  [ ChunkGroup {
      groupDebugId: 5007,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] },
    ChunkGroup {
      groupDebugId: 5003,
      name: null,
      _children: [SortableSet],
      _parents: [SortableSet],
      _blocks: [SortableSet],
      chunks: [Array],
      origins: [Array] } ],
  ... 2886 more items ]

I've just had the same error.

I rebuilt a new project with the same package.json and that there was no error. so I think there's something wrong with my project code.

The error message is TypeError: Converting circular structure to JSON, does that mean that there is a loop call?

I reviewed my code again. I found a template file which imported in the routing file. In that template file, I called a libarary that called the routing file. So there's a cycle. Isn't it? /(ã„’oã„’)/~~

In webpack3, there is no such error. webpack4 changes the chunk method, review your code and see if there is a cycle.

@willove
I do have that cycle... also routing file, the different is i had tons of them

+1, @jantimon You can checkout https://github.com/JounQin/ng-rubick/blob/master/src/views/app.routing.module.ts#L8-L11 and uncomment there lines, then simply run yarn build to reproduce this error.

work around: add chunksSortMode option and set it to "none"

@kenotron Cool, that works to me.

@kenotron You're a life saver! Adding chunksSortMode: "none" worked for me too. For anyone else using this workaround though: you need to add it for all templates (even ones that don't include chunks).

@kenotron worked for me also!

@kenotron You are the best. Works perfectly. Thanks

Reproduction in case anyone needs it. Error is thrown when building angular app in AoT mode.

@kenotron won't say It's a work around. cause it will breaks the script run order which breaks the app.

@lili21 with webpack 4 the order of scripts should not matter anymore

wow, really ? didn't know that before.

@kenotron worked for me, thanks!

953 tries to solve this issue - please let me know if there are any problems with the proposed solution.

Could you please try if this works for you with 4.x alpha?

npm i html-webpack-plugin@next

@jantimon It fixed the problem for my reproduction. Thanks a lot!

still having the issue here after a yarn upgrade on a vue project. Any solution ? npm i html-webpack-plugin@next didn't work for me

@darkylmnx it's hard to tell without seeing your configuration - can you please create a new bug ticket for that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

var-bp picture var-bp  Â·  3Comments

amorphius picture amorphius  Â·  3Comments

Rowno picture Rowno  Â·  3Comments

rokoroku picture rokoroku  Â·  3Comments

MatthewKosloski picture MatthewKosloski  Â·  3Comments