Can't resolve @emotion/core' in '***\node_modules\@projectstorm\react-canvas-core\dist
should '@emotion/core' be added to the packages for react-canvas-core, or is there a reason for keeping it clean? I understand that devs may choose to use other ways of styling, but the package falls over without it.
related: https://github.com/projectstorm/react-diagrams/issues/438 https://github.com/projectstorm/react-diagrams/issues/460#issuecomment-549390814_
I think these dependencies should be added do peerDependencies indeed, and also the Getting Started section of the documentation should be updated.
npm install
@emotion/core
@emotion/styled
dagre
mathjs
pathfinding
paths-js
resize-observer-polyfill
closest
lodash
Most helpful comment
npm install
@emotion/core
@emotion/styled
dagre
mathjs
pathfinding
paths-js
resize-observer-polyfill
closest
lodash
386