facebook / facebook/flow

Cannot resolve module from external project

Open
#7,963 0 comments 0 reactions 0 assignees View on GitHub
bug needs triage
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've created two very simple projects to try and get to the bottom of an issue I'm seeing.

cr1: https://gist.github.com/Chris5732/20d4ee70a927b4b2e58252e2e56a8301
cr2: https://gist.github.com/Chris5732/970932d8b4309cd88f247ba52142ed58

I'm importing the "helloThing" function from cr1 into cr2 but I get this flow error: "Cannot resolve module `cr1/helloThing`." The code itself runs fine. Also I don't want to create a flow stub for this as we need the type checking. Any help would be much appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.