question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dependency cls-hooked won't resolve

See original GitHub issue

hi. 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:open
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Bastianowiczcommented, Apr 13, 2021

Don’t worry. If I couldn’t had fixed it I would’ve been more annoying 😉

1reaction
Bastianowiczcommented, Apr 8, 2021

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 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found