Open jerryajay opened 2 years ago
yeah, I got the same problem, can anyone help to explain? But I guess maybe it's becos the vis-data.js module is revoked by vis-network, but not been installed when we only add vis-network library.
got it. we need to install vis-data as well. Run npm i vis-data
and then the error is cleared. But I think the author should include it in dependencies rather than in peerdependencies.
I tried using the example code on npm website as such:
I get the error: