Open vjpr opened 5 years ago
Thanks for the report!
I'd love to give this a shot (first contribution). Any pointers?
@ollelauribostrom are you still open to this?
@ollelauribostrom or @goodmind I can take it if it hasn't been done.
Could someone give me a pointer on how to best tackle this?
In the meantime, reading the contributing guidelines.
Thanks
Flow version: 0.91.
Expected behavior
Error should say:
Actual behavior
Related: https://github.com/facebook/flow/issues/3889
Another example:
If
empty/object
doesn't exist, there is no message to say that is the cause ofCannot resolve module 'debug'
error.There are many cases where name_mapper breaks things by the user wouldn't know. Try this to show the errors that are generated:
Then you get errors like this:
But the cause is that the name_mapper has mapped to a file that doesn't export anything.
Related