Skip to content
Permalink
Browse files

Create Npm_error.md issue template (#11217)

[skip ci]
  • Loading branch information
nicolo-ribaudo committed Mar 17, 2020
1 parent 5650060 commit 8e7ca22ed708be9c2a3df0d863fbd4b74d56755d
Showing with 18 additions and 0 deletions.
  1. +18 −0 .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.
You can’t perform that action at this time.