Angular CLI: 6.0.0-rc.9
Node: 9.5.0
OS: darwin x64
Angular: 6.0.0-rc.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.5.12
@angular-devkit/build-angular 0.5.12
@angular-devkit/build-optimizer 0.5.12
@angular-devkit/core 0.5.12
@angular-devkit/schematics 0.5.12
@angular/cli 6.0.0-rc.9
@ngtools/webpack 6.0.0-rc.10
@schematics/angular 0.5.12
@schematics/update 0.5.12
rxjs 6.0.0
typescript 2.7.2
webpack 4.6.0
File should be parsed by the analyzer.
Uncaught TypeError: Cannot read property 'sort' of undefined
at r (web.js:1)
at Object.e.load (web.js:1)
at FileReader.e.onload (8.568a26e05565c8025a86.js:1)
Versions
Repro steps
ng new test-appcd test-appng build --stats-jsonnpx webpack-bundle-analyzer ./dist/test-app/stats.jsonObserved behavior
Desired behavior
File should be parsed by the analyzer.
Mention any other details that might be useful (optional)
Another place where it's broken:
Upload the file
dist/test-app/stats.jsonto https://webpack.github.io/analyse/The file does not get parsed by https://webpack.github.io/analyse/
An error appears in the console: