magjac/d3-graphviz

Cannot find wasm files

piacenti opened this issue · 3 comments

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

+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?

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.

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