npm WARN enoent ENOENT: no such file or directory, open '<root>/node_modules/supertest/package.json'
See original GitHub issueI installed supertest
before installing debug
and it fixed this error.
Maybe make it a dependency of this module?
Issue Analytics
- State:
- Created 8 years ago
- Comments:31 (4 by maintainers)
Top Results From Across the Web
npm WARN enoent ENOENT: no such file or directory, open 'C ...
It creates a package.json file in your folder. Then run,. C:\Users\Nuwanst\Documents\NodeJS\3.chat>npm install socket.
Read more >npm WARN enoent ENOENT: no such file or directory, open ...
You can resolve that issue by following methods: Ensure dependencies described correctly on package.json; Just type npm install and hit Enter.
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
enoent ENOENT : no such file or directory, rename. I recently struggled for a while with an npm error thrown when executing npm...
Read more >npm WARN enoent ENOENT no such file or directory open C ...
I just want to install socket.io to my project which is located on 3. chat folder. But when I run following command it...
Read more >no such file or directory, open \package.json install bootstrap ...
Solved: npm WARN saveError ENOENT : no such file or directory, open \package. json install bootstrap. 22K views 1 year ago.
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
No. That’s not an issue of
debug
package. I think it’s related to NPM v3’s changed installation behavior.You can resolve that issue by following methods:
package.json
npm install
and hit Enter.npm cache clean
and hit Entersudo npm install -g npm
and hit Enter.npm install
and hit Enter.if issue not resolved even tried these methods, Please reply with your Node.js version, NPM version, Operating System, and
package.json
which is using.@FaShapouri It seems trying
npm install
in uninitialized npm package directory. you should initialize package withnpm init
. If you want to use debug without package initialize, just usenpm install debug
.