The current experience is:
28863 error cb() never called! 28864 error This is an error with npm itself. Please report this error at: 28865 error <https://npm.community>
This encourages a lot of low quality posts in the forum. It is possible this message was not expected to appear much and reports would be investigated individually, and perhaps with a couple more bug fixes that could be true! However, at the moment it is the most common report and there is not a lot of visible interest in the bug reports.
The problems I see are:
- “Please report this error”: it does not say to look for duplicates or solutions, it says to report, so we get a lot of repeat reports
- the usual report is titled “error cb() never called!” which is not much use for telling them apart
I have been telling people this is a generic error, and there is hopefully an underlying specific error further back in the logs or output which will be more informative (which is hopefully accurate).
Compare with the error from running a script which gives this advice:
23 error This is probably not a problem with npm. There is likely additional logging output above.
I suggest the guidance for “error cb() never called!”:
- suggests consulting npm.community for assistance or reporting
- says to look for additional logging output for the cause