Cannot find module 'debug'
See original GitHub issueI’m getting this error:
Error: Cannot find module 'debug'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (myapp/node_modules/koa/lib/application.js:8:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
The koa’s version in use is the 1.2.4.
Are there someone having this problem too?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Hi, I get this bug here Error: Cannot find module 'debug'
It could be an issue with your local node_modules directory. I would recommend deleting and re-installing it fresh. Then check your local ...
Read more >Node.js debug doesn't work with Error: Cannot find module at ...
Hi, This worked prior 2016.2. Create a debug configuration for Node.js > add working directory value. Debug won't work with Error: Cannot find...
Read more >debug - npm
Lightweight debugging utility for Node.js and the browser. Latest version: 4.3.4, last published: 9 months ago. Start using debug in your ...
Read more >How to debug a node issue that only occurs in 1 of 3 ...
InvocationException: Cannot find module 'fabric' Require stack: - Error: Cannot find module 'fabric' Require stack: - at Function.Module.
Read more >[Solved]-electron-updater: Can not find module 'debug'-node.js
[Solved]-electron-updater: Can not find module 'debug'-node.js · Many node modules will have "src" folders which have to be packaged/bundled along with your ...
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
rm -rf node_modules; npm install
works almost all the time 😆I had this same problem pop up where it previously had not. It was occurring for me with an alpha version of koa2. I’ve moved to koa 2.2 and it is gone.