Skip to content

Commit

Permalink
Create Npm_error.md issue template (#11217)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
nicolo-ribaudo committed Mar 17, 2020
1 parent 5650060 commit 8e7ca22
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/Npm_error.md
@@ -0,0 +1,18 @@
---
name: "\U0001F4E6 npm error"
about: "When you get a `No matching version found for ...` error from npm"
title: ''
labels: 'i: npm cache'
assignees: ''

---

<!------------^ Click "Preview" for a nicer view! -->

First of all, check if the package for which `npm` throws an error is actually published by searching [on the npm website](https://www.npmjs.com/).

If it is, then there is nothing that we can do about it: it was correctly published, but for some reason your package manager client doesn't find it.

If you are using a proxy for the npm registry (maybe it's used by your company, or you are using it because your country blocks the main npm registry), then it's likely that it has cached the old version of the package and it isn't loading the new one. If you can, try clearing the proxy's cache. Otherwise, you will have to wait until the cache is automatically updated (it might take a few hours, or even days).

If you are not using a proxy, or if it isn't a caching problem, please report the issue to npm (https://github.com/npm/cli/issues/new/choose) instead of in this repo!

0 comments on commit 8e7ca22

Please sign in to comment.