dependency cls-hooked won't resolve
See original GitHub issuehi. since me updating npm to version 7 i am facing serious issues with your dependency of cls-hooked.
in my local dev environment everything is fine but in CI this dependency won’t be resolved since npm cannot access it without an ssh key. this is because npm resolves the dependency as git+ssh://git@github...
since the update.
so my question is: what is the reason for using the unreleased version 4.3.0 of cls-hooked and not just depending on the npm released 4.2.2?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Cannot resolve dependency 'async_hooks' #3151 - GitHub
bug report Parcel doesn't seem to know that async_hooks is a Node.js builtin when bundling with --target node. parcel build src/index.js ...
Read more >Module not found: Can't resolve 'async_hooks' - Stack Overflow
The problem with 'async_hooks' is that it will only be available in node on serverside - if e.g. webpack tries to create a...
Read more >express-cls-hooked - npm Package Health Analysis - Snyk
Install: npm install --save express-cls-hooked. Use the middleware. The earlier the better; you won't have access to the context from any middleware "used" ......
Read more >cls-hooked - npm
Continuation-Local Storage ( Hooked ). This is a fork of CLS using AsyncWrap OR async_hooks instead of async-listener.
Read more >How to fix npm dependency hell - Sylhare's blog
Usually between major versions of a package (like from v3.x.x to v4.x.x), they may very likely be some breaking change. Meaning your project...
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
Don’t worry. If I couldn’t had fixed it I would’ve been more annoying 😉
I patched it by resolving it explicitly and adding it as my dependency in package.json so I could define what protocol to use. So it doesn’t bother me at the moment but it is an unused dependency 😉