magjac / d3-graphviz

Graphviz DOT rendering and animated transitions using D3
BSD 3-Clause "New" or "Revised" License
1.69k stars 103 forks source link

Cannot find wasm files #255

Closed piacenti closed 1 year ago

piacenti commented 1 year ago

During startup I've recently (last 3 weeks) been getting the error below when script attempts to load https://unpkg.com/@hpcc-js/wasm/dist/index.min.js -> https://unpkg.com/@hpcc-js/wasm@2.2.0/dist/index.min.js

Cannot find "/dist/index.min.js" in @hpcc-js/wasm@2.2.0

Vithanco commented 1 year ago

+1 (even if problem might be on this https://github.com/hpcc-systems/hpcc-js-wasm side)

The lack of the library creates a "uncaught undefined" during dot.js initiatialisation.

image

May I suggest an error message as a result of missing library?

magjac commented 1 year ago

d3-graphviz hasn't been ported to https://github.com/hpcc-systems/hpcc-js-wasm version 2.2 yet. See https://github.com/magjac/d3-graphviz/blob/master/CHANGELOG.md for which version to use.

piacenti commented 1 year ago

@magjac It may be worth updating documentation. The script tag instructions is currently using the distribution which uses version 2.2