_emscripten_bind_Graphviz_Graphviz_2.apply is not a function
See original GitHub issueI get this error _emscripten_bind_Graphviz_Graphviz_2.apply is not a function
when running the basic graphviz('#graph', false) .renderDot('digraph {a -> b}') .logEvents(true) .onerror((err) => { console.log(err); });
demo. The error throws at layoutStart
. Has anyone seen that before?
I am using it with Angular, and Angular uses webpack under the hood.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Not able to bind function in emscripten - Stack Overflow
I'm not familiar with emscripten, but I notice that you're using “Module.lerp”, whereas what you pass to EMSCRIPTEN_BINDINGS is my_module. – ...
Read more >External Resources - Graphviz
These are some external resources. The list includes tools that complement Graphviz, such as graph generators, postprocessors and ...
Read more >"TypeError: caller is not a function" on multi-thread Embind's ...
I'm getting the "TypeError: caller is not a function" JavaScript exceptions when trying to use/build emscripten::val objects in different ...
Read more >Function Pointer Issues - Emscripten
The workaround is to pass the structure by reference, or simply not mix C and C++ in that location (for example, rename the...
Read more >Embind does not seem to recognize std::function (unbound type)
I am trying to use a simple C++ program containing using std::function with Embind. ... #include <emscripten/bind.h> ... emcc --bind foo.cpp -o foo.js....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had hpcc-js/wasm as a dependency in my project and so the final bundled js had the module included twice, and I think the two
wasmTable
s were colliding. I removed it as a dependency from my project so that only the one include by d3-graphviz ended up in the final js, and then it worked, thanks.Sorry, I don’t know what’s wrong, but I think it’s something Angular specific. I think Stack Overflow is a better place to ask for help. Possibly could https://github.com/magjac/d3-graphviz-angular/pull/13 help you too.