code-forensics
code-forensics copied to clipboard
Hover not working on generated html (JS errors)
Hi!
After running any kind of analysis (which is executed correctly) and then the gulp webserver
, I can see the reports but hovering on the results do not work.
Looking at the JS console, I see several types of JavaScript errors:
d3_tooltip.js:34 Uncaught TypeError: event.stopPropagation is not a function
at SVGCircleElement.eval (d3_tooltip.js:34:15)
at SVGCircleElement.eval (d3.min.js:2:10935)
node_helper.js:54 Uncaught TypeError: Cannot read properties of undefined (reading 'path')
at module.exports.nodeTooltipTemplateArgs (node_helper.js:54:24)
at Function.html (diagram_model.js:92:160)
at c.show (d3-v6-tip.min.js:1:762)
at SVGCircleElement.eval (d3_tooltip.js:33:24)
at SVGCircleElement.eval (d3.min.js:2:10935)
I have tried with Chrome 106.0.5249.103 and Firefox 106.0.2, same result in both. I'm running it on an Ubuntu 20.04. My node version is 14.17.6 and my npm version is 6.14.15.
I have also tried to remove both the "output" and "tmp" folders generated, and still the same problem.
When starting the gulp webserver
everything looks correct:
Any hint? Thanks a lot in advance! :pray: