【发布时间】:2021-10-07 23:37:02
【问题描述】:
我正在尝试将 npm 包依赖项安装到我的 Angular 应用程序中,但出现此错误。有什么帮助解决这个问题吗?
C:\Users\TM161\Desktop\Master\stage PFE\SNRT-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:\Users\TM161\AppData\Local\npm-cache\_logs\2021-08-02T15_41_58_935Z-debug.log
【问题讨论】:
-
在您的 package.json 中有一个公共 npm 注册表不知道的包名称。我能找到的最接近“amcharts4”的包是npmjs.com/package/@amcharts/amcharts4。它符合您的需求吗?
-
当我尝试安装 amcharts 时,它仍然是同样的问题。
标签: node.js angular npm node-modules