TS2307: Cannot find module '../../react-canvas-core/dist/@types'.
See original GitHub issueHi,
I am using the latest beta ("@projectstorm/react-diagrams": "^6.0.1-beta.4"
).
Im getting this error, but the application seems to be working fine.
TS2307: Cannot find module '../../react-canvas-core/dist/@types'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/DiagramEngine.d.ts(25,147):
TS2307: Cannot find module '../../react-canvas-core/dist/@types'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/DiagramEngine.d.ts(26,152):
TS2307: Cannot find module '../../react-canvas-core/dist/@types'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/DiagramEngine.d.ts(27,147):
TS2307: Cannot find module '../../react-canvas-core/dist/@types'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/entities/link-layer/LinkLayerModel.d.ts(14,59):
TS2307: Cannot find module '../../../../react-canvas-core/dist/@types'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/entities/link/PointModel.d.ts(3,44):
TS2304: Cannot find name 'Omit'.
ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/entities/node-layer/NodeLayerModel.d.ts(11,59):
TS2307: Cannot find module '../../../../react-canvas-core/dist/@types'.```
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Cannot find module 'react' or its corresponding type ...
When I change the file's extension to .js and .jsx from.ts and .tsx, the errors disappear. How should I solve this problem for...
Read more >Cannot find module 'react' Error in TypeScript | bobbyhadz
To solve the "Cannot find module react or its corresponding type declarations" error, install the module and its type definitions by running the...
Read more >Developers - TS2307: Cannot find module '../../react-canvas-core ...
Im getting this error, but the application seems to be working fine. ERROR in /Users/admin/node_modules/@projectstorm/react-diagrams-core/dist/@types/src/ ...
Read more >Solved: Cannot find module react : npm install - YouTube
Your browser can't play this video. ... Solved: Cannot find module react : npm install ... 58K views 3 years ago React.
Read more >npm start cannot find module react Code Example - Grepper
npm install --save react react-dom @types/react @types/react-dom.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem.
Looks like the path is somehow too short…
../../../../react-canvas-core/dist
seems to be the right pointer: is it possible?