我试图在我的react项目中安装所有依赖项,但是当我运行npm install时,我得到了一些与esprima相关的错误:
npm ERR! 404 Not Found - GET https://codeload.github.com/ariya/esprima/legacy.tar.gz/master
npm ERR! npm ERR! 404
npm ERR! npm ERR! 404 'esprima@https://github.com/ariya/esprima/tarball/master' is not in the npm registry.
npm ERR! npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! npm ERR! 404
npm ERR! npm ERR! 404 Note that you can also install from a
npm ERR! npm ERR! 404 tarball, folder, http url, or git url.有没有人经历过这个错误?
发布于 2021-05-27 01:05:17
在将我的npm版本从7.14.0降级到v6.14.13之后,我能够解决这个问题。这可能不是最好的解决方案,但这是我摆脱这个问题的唯一方法。
https://stackoverflow.com/questions/67628736
复制相似问题