Closed nukisman closed 4 years ago
This might be the same problem as https://github.com/magjac/graphviz-visual-editor/issues/95
There is a note about this in the readme: https://github.com/DomParfitt/graphviz-react/blob/master/README.md#install.
Essentially there is an issue in a library that is a dependency of this package. The readme contains details of a work around.
@magjac @DomParfitt Thanks a lot! This helps:
"scripts": {
"start": "react-scripts --max_old_space_size=4096 start",
"build": "react-scripts --max_old_space_size=4096 build"
}
New project created with
create-react-app --typescript
. Working ok.When I add some
<Graphiz ...>
component from examples like this: App.tsx:It compiles ok but gives error on start:
Env and configs:
OS:
MacOS Mojave 10.14.6
package.json:
tsconfig.json: