我试图安装npm包依赖到我的angular应用程序,我得到这个错误。有什么办法可以解决这个问题吗?
C:UsersTM161DesktopMasterstage PFESNRT-Music>npm i
npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npmjs.org/amcharts4 - Not found
npm ERR! 404
npm ERR! 404 'amcharts4@latest' 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 ERR! A complete log of this run can be found in:
npm ERR! C:UsersTM161AppDataLocalnpm-cache_logs2021-08-02T15_41_58_935Z-debug.log
npm无法在注册表中找到amcharts4包。您的软件包版本可能较旧。所以尝试
npm i @amcharts/amcharts4
则npm i