Open sriramsridharanvr opened 3 years ago
@emotion/core
is a peer dependency of the project: https://github.com/projectstorm/react-diagrams/blob/63dbe41df017db10212e93b22b282c0f3c363b1b/packages/react-diagrams-defaults/package.json#L36 You should add it (and the other peer dependencies) as dependencies in your project.
I'm trying to follow the documentation and bootstrapped a create-react-app
Then, did
yarn add @projectstorm/react-diagrams
Added the following imports to my
App.js
Then finally,
yarn start
Now when I got to
http://localhost:3000
, I got this error:Below is my
package.json
for your referenceAm I missing anything in the dependencies?