Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack 4 production build Converting circular structure to JSON #870

Closed
KrakenTyio opened this issue Mar 1, 2018 · 23 comments
Closed

webpack 4 production build Converting circular structure to JSON #870

KrakenTyio opened this issue Mar 1, 2018 · 23 comments

Comments

@KrakenTyio
Copy link

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.
@jantimon
Copy link
Owner

jantimon commented Mar 1, 2018

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

@KrakenTyio
Copy link
Author

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?

@jantimon
Copy link
Owner

jantimon commented Mar 1, 2018

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

@kenotron
Copy link

kenotron commented Mar 2, 2018

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

@s524797336
Copy link

s524797336 commented Mar 2, 2018

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 ]

@willove
Copy link

willove commented Mar 2, 2018

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.

@s524797336
Copy link

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

@JounQin
Copy link

JounQin commented Mar 2, 2018

+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.

@kenotron
Copy link

kenotron commented Mar 2, 2018

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

@JounQin
Copy link

JounQin commented Mar 3, 2018

@kenotron Cool, that works to me.

@drew-walker
Copy link

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

@tommyalvarez
Copy link

@kenotron worked for me also!

@tobzy
Copy link

tobzy commented Mar 31, 2018

@kenotron You are the best. Works perfectly. Thanks

@WiseBird
Copy link

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

@lili21
Copy link

lili21 commented May 9, 2018

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

@jantimon
Copy link
Owner

jantimon commented May 9, 2018

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

@lili21
Copy link

lili21 commented May 9, 2018

wow, really ? didn't know that before.

@abczdefg
Copy link

@kenotron worked for me, thanks!

@jantimon
Copy link
Owner

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

@jantimon
Copy link
Owner

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

npm i html-webpack-plugin@next

@WiseBird
Copy link

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

@darkylmnx
Copy link

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

@jantimon
Copy link
Owner

jantimon commented Jun 6, 2018

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

@jantimon jantimon closed this as completed Jun 6, 2018
Repository owner locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests