You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When output.module is true: Cannot read properties of undefined (reading 'arguments') #684
Following #409, when building a project with ESM, the following error appears:
Errorparsingbundleasset"<redacted>\dist\public\index.mjs": Cannotreadpropertiesofundefined(reading'arguments'){
cause: TypeError: Cannotreadpropertiesofundefined(reading'arguments')atgetModulesLocations(<redacted>\node_modules\webpack-bundle-analyzer\lib\parseUtils.js:236:24)
at Object.ExpressionStatement (<redacted>\node_modules\webpack-bundle-analyzer\lib\parseUtils.js:43:35)
at c (<redacted>\node_modules\acorn-walk\dist\walk.js:58:37)
at Object.skipThrough (<redacted>\node_modules\acorn-walk\dist\walk.js:186:39)
at c (<redacted>\node_modules\acorn-walk\dist\walk.js:58:37)
at base.Program.base.BlockStatement.base.StaticBlock (<redacted>\node_modules\acorn-walk\dist\walk.js:198:7)
at base.Program.base.BlockStatement.base.StaticBlock (<redacted>\node_modules\acorn-walk\dist\walk.js:198:7)
at c (<redacted>\node_modules\acorn-walk\dist\walk.js:58:37)
at Object.recursive (<redacted>\node_modules\acorn-walk\dist\walk.js:59:7)
at parseBundle (<redacted>\node_modules\webpack-bundle-analyzer\lib\parseUtils.js:25:8)
at Object.getViewerData (<redacted>\node_modules\webpack-bundle-analyzer\lib\analyzer.js:80:22)
}
Link to Minimal Reproduction and step to reproduce
Activity