Cannot find module
See original GitHub issueExpected behavior
No ts errors.
Actual behavior
After an upgrade from 1.5.3 to 1.9.13, I get the following error:
$ tsc --noEmit
node_modules/interactjs/index.d.ts:2:22 - error TS2307: Cannot find module '@interactjs/interactjs/index'.
2 import interact from '@interactjs/interactjs/index';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
error Command failed with exit code 1.
System configuration
interact.js version: 1.9.13 Typescript version: 3.8.3 Operating System: Ubuntu 20.04
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
This happens when a first npm install has crashed for some reason (SIGINT of npm), or that the delay was too long, or...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
When you get the “cannot find module” error, or “module not found”, it means you've not installed the package you're trying to use....
Read more >How to resolve "Cannot find module" error in Node - Sabe.io
The Cannot find module error is a common error that usually happens when dependencies are not installed. Once you install your dependencies and ......
Read more >Fixing The "Cannot Find Module" Error In TypeScript
The first thing to fix the "cannot find module" error in TypeScript is to ensure that the package is installed on your system....
Read more >Error: Cannot find module in JavaScript [SOLVED]
Error: Cannot find module 'package-name' is a popular module error message that you might face when working with Node and its packages which...
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
Again:
which TS version are you using?
Hi I’ve upgraded to 1.9.14 and now I’m getting: