webpack / analyse

analyse web app for webpack stats
http://webpack.github.com/analyse
880 stars 139 forks source link

Cannot read property 'parents' of undefined when opening modules tab #34

Open felixfbecker opened 6 years ago

felixfbecker commented 6 years ago

image

Uncaught TypeError: Cannot read property 'parents' of undefined
    at eval (webpack:///./app/graphs/modules.js?:59)
    at Array.some (<anonymous>)
    at isInChunks (webpack:///./app/graphs/modules.js?:58)
    at eval (webpack:///./app/graphs/modules.js?:61)
    at Array.some (<anonymous>)
    at eval (webpack:///./app/graphs/modules.js?:50)
    at Array.forEach (<anonymous>)
    at eval (webpack:///./app/graphs/modules.js?:45)
    at Array.forEach (<anonymous>)
    at eval (webpack:///./app/graphs/modules.js?:19)
vojty commented 6 years ago

same problem here with stats generated via https://github.com/FormidableLabs/webpack-stats-plugin/

prateekjahead commented 5 years ago

I faced the same problem. Later I checked my webpack stats config to find:

{
    ...
    chunks: false,
    ...
}

This needs to be true.