From 8e7ca22ed708be9c2a3df0d863fbd4b74d56755d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 17 Mar 2020 02:38:00 +0100 Subject: [PATCH] Create Npm_error.md issue template (#11217) [skip ci] --- .github/ISSUE_TEMPLATE/Npm_error.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/Npm_error.md diff --git a/.github/ISSUE_TEMPLATE/Npm_error.md b/.github/ISSUE_TEMPLATE/Npm_error.md new file mode 100644 index 000000000000..a47cd0439fcc --- /dev/null +++ b/.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: '' + +--- + + + +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!