resolve
resolve copied to clipboard
More detailed not_found error
Hello!
I added more detailed error in case of MODULE_NOT_FOUND.
Recently I had a problem with jest, which uses this package for searching dependencies. And there was this error. But I had module installed, I seen it with my eyes and could navigate to it via IDE. I spent several hours debugging the reason why it cannot be found. The reason was that module has no index.js file and main
field in package.json, so I just added alias. I believe that more detailed error text could help me.