Can throw ENOTDIR instead of MODULE_NOT_FOUND
See original GitHub issuerequire('./CHANGELOG.md/directory');
will throw code MODULE_NOT_FOUND
, but
require('resolve').sync('./CHANGELOG.md/directory')
will throw code ENOTDIR
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Python - Module Not Found - Stack Overflow
All modules in Python have to have a certain directory structure. You can find details here. Create an empty file called __init__.py under...
Read more >ModuleNotFoundError: no module named Python Error [Fixed]
Sometimes, Python throws the ModuleNotFoundError afterward. ... as NumPy during import will throw the module not found error as both modules ...
Read more >Error: Can't resolve 'process/browser' #365 - GitHub
When using 3.1.19 I'm getting the following error: ERROR Failed to compile with 1 errors 11:17:18 error in .
Read more >Errors | Node.js v19.3.0 Documentation
For all EventEmitter objects, if an 'error' event handler is not provided, the error will be thrown, causing the Node.js process to report...
Read more >Module not found error even though it shows as installed in ...
I have an example sycript that uses LinkedList module It is imported in the .py scrip via from LinkedList import * the editor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I first ran across it when using a
basedir
, but it appears to happen with or without for me.@loganfsmyth thanks!