reaviz / reaflow

🎯 React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.

Home Page:https://reaflow.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reaflow not working because of dependency issue

Prasy12 opened this issue · comments

I'm submitting a...


[ ] Bug report 

Current behavior

When I try to use reaflow, it throws an error on the dependency 'calculate-size' module with the following error
image

Expected behavior

Reaflow should run without this error

Minimal reproduction of the problem with instructions

1.yarn add reaflow
2.Import canvas
3.Add sample Canvas code from storybook and try to visualise the graph

Just add the GENERATE_SOURCEMAP=false before the start script.

... "scripts": { "start": "GENERATE_SOURCEMAP=false react-scripts start", ... },