tl;dr try this:
$ npx npmc@latest install
I’ve released a new npm canary with some patches that will stop dropping cb never called errors when certain error types pop up. Note that you may very well still get an error, but it should be more informative now, and I assume it’s going to be the
ENFILE issue in most cases. I have a different idea for those, so if you confirm that, I can try the new thing and release a new canary.
Thanks y’all for your patience, I assure you this bug has been as exasperating for me as I imagine as it’s been for you. Kudos to @iarna for finally managing to reproduce it on her own server, which allowed her to do deeper debugging and come up with a patch.
Anyway, please let me know if you still get the cb never called with the canary!