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

Is analyse still an active project? #40

Open
nick-brady opened this issue Dec 4, 2018 · 5 comments
Open

Is analyse still an active project? #40

nick-brady opened this issue Dec 4, 2018 · 5 comments

Comments

@nick-brady
Copy link

I tried using with a profile file from Webpack v4. After uploading the file nothing happened.

There doesn't seem to be any recent activity, but the package itself doesn't say deprecated or that it is no longer supported. Is analyse still an active project?

Thanks in advance!

@earshinov
Copy link

earshinov commented Apr 2, 2019

Same to me. The project does not seem supported any more.

https://webpack.github.io/analyse/ does not load the file, neither in Chrome nor in Firefox. In both cases, there are errors in browser's dev tools console.

Google Chrome | 73.0.3683.86

web.js:1 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)

Firefox 66.0.2:

TypeError: t.modules is undefined web.js:1:1462
    r https://webpack.github.io/analyse/web.js:1
    load https://webpack.github.io/analyse/web.js:1
    onload https://webpack.github.io/analyse/8.568a26e05565c8025a86.js:1

@slavafomin
Copy link

slavafomin commented Jul 9, 2019

Looks like the stats format was changed at some point by Webpack and the tool wasn't updated to handle new format correctly. It can't find the modules property in the stats structure.

@sokra could you elaborate on this issue please? How drastically is this tool outdated? Would it be difficult to update it to make it work with the latest Webpack? It looks very useful, especially comparing with other tools, that are just too primitive.

@12kb
Copy link

12kb commented Nov 5, 2019

Practical hint:
Manual unwraping of single data entry helped in my case.
Generated stats was:

{
   ...
   "children": [{...data...}]
}

@dutzi
Copy link

dutzi commented Feb 16, 2020

Seems like the JSON has the following 2 lines at the start:

Webpack Bundle Analyzer is started at http://127.0.0.1:8888
Use Ctrl+C to close it

Deleting these helped.

@niklasholm
Copy link

Nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants