You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to run this under webpack, but dagre throws an error when I requirenomnoml. To be specific, I have a React app created with create-react-app, that breaks when I try to use nomnoml inside of it.
It's an issue when dagre tries to import graphlib, wherein graphlib cannot be found, due to some sort of dependency-finding issue.
Is nobody else using nomnoml under Webpack? There don't seem to be any straightforward solutions to this problem, but there are various issues that people have had – just don't see how anyone else has actually fixed the problem.
As you say, this seems to be an issue with Dagre. They have a workaround posted, but the best thing would be for these things to just work out of the box. Not sure if nomnoml can do anything to alleviate the problem however...
Hi, I'm trying to run this under webpack, but dagre throws an error when I
require
nomnoml. To be specific, I have a React app created with create-react-app, that breaks when I try to use nomnoml inside of it.It's an issue when dagre tries to import graphlib, wherein graphlib cannot be found, due to some sort of dependency-finding issue.
Is nobody else using nomnoml under Webpack? There don't seem to be any straightforward solutions to this problem, but there are various issues that people have had – just don't see how anyone else has actually fixed the problem.
Associated issues:
dagrejs/dagre-d3#129
mermaid-js/mermaid#277
The text was updated successfully, but these errors were encountered: