"Cannot resolve module" error could be more helpful
Open
documentation
error messages
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
If this is a bug, please try reproducing using https://flow.org/try/.
As a first-time user of Flow, wasted a lot of time trying to figure out how to fix that error - when it turned out that all it means is that you need to install a type definition for the module. I thought it was having issues finding or importing the module itself.
Suggestion: "Cannot resolve module X. The module may not have typing definitions, which can be installed using flow-typed."
Contributor guide
Assessment
This issue has not been assessed yet.