Node.js 当运行npm安装时,我得到了npm错误!代码E404

Node.js 当运行npm安装时,我得到了npm错误!代码E404,node.js,npm,Node.js,Npm,我正在尝试运行npm安装,每次都会收到错误404。节点_模块文件将在尝试安装时显示,然后在出现错误时被删除 npm install npm ERR! code E404 npm ERR! 404 Not Found - GET https://repositor.com/artifactory/api/npm/ui-mjd/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz npm ERR! 404 npm ERR! 404 'whatwg-fetch@https://

我正在尝试运行npm安装,每次都会收到错误404。节点_模块文件将在尝试安装时显示,然后在出现错误时被删除

npm install
npm ERR! code E404
npm ERR! 404 Not Found - GET https://repositor.com/artifactory/api/npm/ui-mjd/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz
npm ERR! 404
npm ERR! 404  'whatwg-fetch@https://repository.com/artifactory/api/npm/ui-mjd/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
我尝试过的事情:

  • npm缓存清理
  • npm重建
  • 更新注册表
  • 从github中删除过去的工作文件

其他人正在从github访问相同的代码,它工作正常,但我无法通过npm运行它。有什么想法吗?

我可以通过运行命令来解决它

npm update --force
npm audit fix --force