Bug: running `diagrams-demo-project` error `TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactNode'. Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.`
dmoore247 opened this issue · 0 comments
dmoore247 commented
Following:
git clone ....
cd react-diagrams
pnpm install
pnpm build
cd diagrams-demo-project
pnpm install
pnpm run start
then receive error (Which is similar DefinitelyTyped/DefinitelyTyped#66754)
react-diagrams/diagrams-demo-project/src/main.tsx(43,14)
TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactNode'.
Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.
and browser opens.
Same error; close error panel (x), then functioning demo project appears
I'm a yarn/npm/pnpm/react noob, but I've been able to get other flowchart react programs to run.