question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module

See original GitHub issue

I am sorry if that seems like a silly thing to ask, but I have tried all sorts of things to make the import work with no success:

Cannot find module '@stream-io/flat-list-mvcp' or its corresponding type declarations. ts(2307)

I inspected the node_modules/@stream-io/flat-list-mvcp and all the files are there. I realized they are using a index.ios.tsx and index.android.tsx. Do I need any special configurations in my RN project to make it able to read those? I am currently using react-native: 0.63.3. Thank you!

Screen Shot 2021-02-19 at 5 40 17 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21

github_iconTop GitHub Comments

1reaction
finalightcommented, Jan 31, 2022

i’m still facing this issues, any ideas?

1reaction
gtcarascommented, Jan 14, 2022

@Maxim-Filimonov you suggestion worked to resolve my import issues when running jest. I did not run into the new error you mentioned so that may be caused by another issue unrelated to the import itself.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found