我试图运行npm安装,并得到错误404每次。node_modules文件将在试图安装时显示,然后在出现错误时被删除。
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.我尝试过的事情:
rebuild
下载过去的工作文件。
其他人可以从github获得相同的代码,并且运行良好,但是我无法通过npm运行它。有什么想法吗?
发布于 2021-04-01 19:13:43
我能够通过运行命令来解决这个问题
npm update --force
npm audit fix --forcehttps://stackoverflow.com/questions/66906569
复制相似问题