-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Bug Triaging
Luke Karrys edited this page Sep 28, 2021
·
23 revisions
- ☑️ Ensure the ticket is a bug, & not a feature request/enhancement
- If so, continue..
- If not, send those requests to
npm/feedback
ornpm/rfcs
& 🚫 close ticket
- ☑️ Ensure the ticket is using our issue template
- If so, continue...
- If not, use discretion/respond for clarity (see templates below) & 🚫 close ticket
- ☑️ Ensure bug is unique (ie. search for existing/similar tickets)
- If so, continue...
- If not, add the label
Duplicate
, link the existing issue (see templates below) & 🚫 close ticket
- ☑️ Ensure bug is reproducible on the latest version of the
npm
CLI
- If so, continue...
- If not, ask them to upgrade (see templates below) & 🚫 close ticket
- (Optional) ☑️ Write a failing test that reproduces bug & submit a PR
- ☑️ Respond w/ a clarifying question(s) (see templates below)
- ☑️ Determine & label Priority accordingly (no label is required for low-priority icebox/backlogged bugs)
- Move to next issue...
**Closing:** this looks to be similar if not a duplicate of an existing issue, <issue_id>. If you believe your instance is unique, please provide further clarifying details.
<authors_username> can you try replicating this problem on the latest version of `npm`? (ie. `npm i -g npm`)
**Closing:** please use our [issue template](https://github.com/npm/cli/issues/new/choose) &/or review our [contributing guidelines](https://github.com/npm/cli/blob/latest/CONTRIBUTING.md#reporting-bugs).
**Closing:** we do not support/triage third-party libraries or tooling bugs; Please file an issue with the relevant project.
<authors_username> Thanks for filing this! Since this is working as intended, can you please open an [RFC issue](https://github.com/npm/rfcs) with some details on how you could/would like to see this changed?
Note: use your discretion, low/no information about the environment/circumstances for when this occurred should be closed with the following:
**Closing:** this error can arise for a number of reasons; Please read [this document](https://github.com/npm/cli/wiki/%22cb()-never-called%3F-Exit-handler-never-called%3F-I'm-having-the-same-problem!%22) & refile an issue with as much information as possible if you're able to **consistently reproduce** this error.
If it is an
npm install
error for a package with a large dependency graph, it's possible it was running on a resource constrained system which produced the error, and the issue can be closed with the following:
**Closing:** We suspect this has to do with a combination of resource constraints within the device/program being used and the large amount of transient dependencies being installed by this command.
We've opened https://github.com/npm/statusboard/issues/395 for us to look deeper into this and track the discussion and fixes around it. You can also read [this document](https://github.com/npm/cli/wiki/%22cb()-never-called%3F-Exit-handler-never-called%3F-I'm-having-the-same-problem!%22) for more information on why this issue might be happening currently and ways to debug it.