Yarn,npm installation plug-in Couldn't find package "" on the "npm" registry. A mistake?

Baidu Google has been looking for several hours, but I really can"t solve this problem. I come to ask you for great help. Thank you very much.

the error error Couldn"t find package "bable-core" on the "npm" registry. will be reported when installing bable-core bable-preset-env bable-loader@7.1.2 with yarn, and all three plug-ins are installed separately.
this error can also be made with npm installs.

clipboard.png

package.json file:

{
  "name": "admin-V1-fe",
  "version": "1.0.0",
  "main": "index.js",
  "repository": "git@gitee.com:yybldadmin/admin-V1-fe.git",
  "author": "Sercl <wzryouxiang@126.com>",
  "license": "MIT",
  "devDependencies": {
    "html-webpack-plugin": "2.30.1",
    "webpack": "3.10.0"
  }
}

I would like to ask you to take a look at what went wrong with this hint. I will submit the contents of other documents as soon as possible if I need them. I don"t understand in many places. Thank you very much

Mar.09,2021

is an npm source error. It may be a network problem, or it may be your source setting error. Please use the following keywords of Baidu [npm setting Taobao Source]


I'll give you two suggestions:

  1. whether there is a proxy locally, or whether npm sets a proxy. Try shutting down the agent
  2. when installing the module, you can try to remove the version number

your NPM feed may be set up incorrectly

< hr >

Please use

yarn config set registry 'https://registry.npm.taobao.org'
Menu