You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.
import something from '../path/to/file';
import redux from 'redux';
But the error output is the following
These dependencies were not found in node_modules:
* ../path/to/file
* redux
Did you forget to run npm install --save for them?
It would be great if we could split this into two separate type of errors
Module not found
This dependency was not found in node_modules:
* redux
Did you forget to run npm install --save for it?
File not found
This file or directory as was not found
* ../path/to/file
For the file not found it would be quite interesting to search for that file in a one directory above and one directory below. For example for ../path/to/file we could check in ./path/to/file and ../../path/to/file. If we do something like this, then we could add that info to the output.
This file or directory as was not found
* ../path/to/file
Did you mean `../../path/to/file`?
The text was updated successfully, but these errors were encountered:
That's a great idea !
Why not using a running a glob on all sources (if we can determine we the sources are located)?
Would you be willing to submit a PR for this?
I have this code
But the error output is the following
It would be great if we could split this into two separate type of errors
Module not found
File not found
For the file not found it would be quite interesting to search for that file in a one directory above and one directory below. For example for
../path/to/file
we could check in./path/to/file
and../../path/to/file
. If we do something like this, then we could add that info to the output.The text was updated successfully, but these errors were encountered: