naddison36 / sol2uml

Solidity contract visualisation tool
MIT License
1.13k stars 268 forks source link

viz.js error #70

Closed ittayd closed 2 years ago

ittayd commented 2 years ago

When executing with no arguments: (node:24148) V8: /usr/local/lib/node_modules/sol2uml/node_modules/viz.js/viz.js:33 Invalid asm.js: Function definition doesn't match use

naddison36 commented 2 years ago

This is a warning message from the now deprecated viz.js package. I need to find a npm package to replace viz.js that wraps Graphviz for Javascript or ideally TypeScript.

naddison36 commented 2 years ago

Fixed in v2.0.0 by changing the viz.js dependency to @aduh95/viz.js