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

Analysis web page crashes on Hints #47

Open
webpack-bot opened this issue Oct 16, 2020 · 1 comment
Open

Analysis web page crashes on Hints #47

webpack-bot opened this issue Oct 16, 2020 · 1 comment

Comments

@webpack-bot
Copy link

Bug report

Regarding http://webpack.github.io/analyse/#hints

What is the current behavior?
If you go to "Hints" tab in the analysis page, it crashes, and must be reloaded in order to work again.
http://webpack.github.io/analyse/#hints

If the current behavior is a bug, please provide the steps to reproduce.
Upload a stats.json file on http://webpack.github.io/analyse/ and click the tab Hints. After that the page becomes unresponsive. Not sure if this happens for any stats.json, but I can not currently attach the offending one to this ticket. This error can be seen in developer console at the moment you click Hints:

15f6448ec2a08f35395d.js:1 [Violation] 'load' handler took 463ms
f82681492bc705423f7a.js:1 Uncaught (in promise) TypeError: Cannot read property 'join' of undefined
    at f82681492bc705423f7a.js:1
    at f82681492bc705423f7a.js:1
    at e.exports (f82681492bc705423f7a.js:1)
    at e.exports (f82681492bc705423f7a.js:1)
    at HTMLDocument.<anonymous> (web.js:1)
    at j (jquery-2.1.0.min.js:2)
    at Object.add [as done] (jquery-2.1.0.min.js:2)
    at o.fn.init.o.fn.ready (jquery-2.1.0.min.js:2)
    at new o.fn.init (jquery-2.1.0.min.js:2)
    at o (jquery-2.1.0.min.js:2)
(anonymous) @ f82681492bc705423f7a.js:1
(anonymous) @ f82681492bc705423f7a.js:1
e.exports @ f82681492bc705423f7a.js:1
e.exports @ f82681492bc705423f7a.js:1
(anonymous) @ web.js:1
j @ jquery-2.1.0.min.js:2
add @ jquery-2.1.0.min.js:2
o.fn.ready @ jquery-2.1.0.min.js:2
o.fn.init @ jquery-2.1.0.min.js:2
o @ jquery-2.1.0.min.js:2
i @ web.js:1
Promise.then (async)
i @ web.js:1
a @ web.js:1
(anonymous) @ web.js:1

What is the expected behavior?
To get some hints or a message saying there are no hints. No uncaught errors in console.

Other relevant information:
webpack version: "webpack": "^4.44.1",
Node.js version: v14.8.0
Operating System: Mac OS 10.12.6
Additional tools: "stats-webpack-plugin": "^0.7.0",


This issue was moved from webpack/webpack#11711 by @evilebottnawi. Original issue was by @perqa.

@webdiscus
Copy link

How to reproduce the issue

  • open the analyse site
  • in the popup Upload webpack stats select the webpack 5 test cases example
  • in top menu click on Hints => do nothing
  • see in browser console the error Uncaught (in promise) TypeError: u is undefined

The PR fix this issue.
In this fork is the fixed version @webdiscus/webpack-analyse.

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

2 participants