-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Flow just stops reporting errors #5647
Comments
My
I use Node 8.6, macOS Sierra, Flow 0.63.1 |
You need to remove this part from your config:
|
And instead of
for each directory in |
Could you please explain why do I need to remove that part of my config? It is what I found in Flow docs and used based on what I’m able to do in JS with CRA setup. |
You don't have to declare stuff like these because it works by default:
You must not use
because it works not as you think it works. It marks |
@alexeyraspopov We have same kind of problem in my team too... It started to behave like that around 0.57.0-0.58.0 . |
@jpolo It was introduced here #869 (comment) |
@apsavin Excellent catch! |
If getting rid of In the example bellow
|
@apsavin, is there any explanation in docs regarding this behavior? |
@alexeyraspopov I'm not sure there is. |
I guess I saw some explanation of "lazy" mode when it comes to reading |
This is seriously the right "solution"? Instead of 1 option for every module resolve root configured once only at starting a project, now it requires us to manually write all modules for all resolve module roots? So whenever I'll add a component (which is inside its own module), I must also manually add a line to flowconfig? This is very cumbersome and actually might be a reason to not use Flow... |
I like using Flow since it provides amazing extension to existent JavaScript code. The type system is efficient, mostly straightforward, and error reports are user-friendly.
I want to thank anyone who's involved in development, it's a great tool.
There is only one thing that bugs be for long time already. You can find it partially reported: #5619, #5586, #5316, #5180, #5495. Sometimes, for some unexpected reasons (mostly after version update), Flow just stops seeing errors (even explicitly made). Me and my colleagues tried tons of ways to work around this: manually killing server instances, looking for temp files that should be cleaned up, etc. Still, Flow can just not report errors.
This is really frustrating since you can't really rely on this tool output. I hope maintainers can prioritize this issue and not just close this ticket as duplication. I'm not familiar with OCaml so there is no even a way to debug this thing locally from my side.
Thank you again for your work and wish we can continue improving Flow.
Alexey
The text was updated successfully, but these errors were encountered: