-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.56.0-rc.2] Flow has lots of Cannot resolve module X
#19766
Comments
Cannot resolve module X
Cannot resolve module X
This repros for me and doesn't repro on the previous version. It looks like this is because of the removal of |
I tried adding
to the |
You can use this configuration:
|
Looks like that configuration fixes the problem. Lets get it added. |
Summary: Fixes #19766 On a clean project flow was complaining about `Cannot resolve module X` because of the removal of `providesModule`. This resolves the errors. Reviewed By: rubennorte Differential Revision: D8500303 fbshipit-source-id: 4e129ee4382f8ff36ab126e9f6c6530254cd382e
This is now in |
How do you add this fix?
This is the error I get:
Putting it under some of the other points causes the original errors of the question or something like this:
How do you fix this flow? |
Summary: Fixes facebook#19766 On a clean project flow was complaining about `Cannot resolve module X` because of the removal of `providesModule`. This resolves the errors. Reviewed By: rubennorte Differential Revision: D8500303 fbshipit-source-id: 4e129ee4382f8ff36ab126e9f6c6530254cd382e
With the fix applied at 843a433 I still see issues comming from
|
Can you create a new issue? Those errors are unrelated to the original issue (but should still get fixed) |
Summary: Fixes facebook/react-native#19766 On a clean project flow was complaining about `Cannot resolve module X` because of the removal of `providesModule`. This resolves the errors. Reviewed By: rubennorte Differential Revision: D8500303 fbshipit-source-id: 4e129ee4382f8ff36ab126e9f6c6530254cd382e
Environment
Description
When generating a new app using react-native-init with latest
0.56.0-rc.2
selected, I am getting 97 flow errors. Same with 0.56.0-rc.1and 0.56.0-rc
For example:
Reproducible Demo
react-native init awesome --version="0.56.0-rc.2" yarn add --dev flow-bin@0.74.0 yarn flow
The text was updated successfully, but these errors were encountered: