我正在尝试在Angular8中安装fontawesome<0.4.x>,但它给我一个错误,并显示:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/0.4.x - Not found
npm ERR! 404
npm ERR! 404 '0.4.x@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 我遵循了基于this page的流程
但是在执行了最后一行($ npm install @fortawesome/angular-fontawesome@<version>)之后,它给了我ERR 404 !!,我将感谢您的帮助……谢谢
发布于 2020-01-01 03:02:18
当您在最后使用@时,您需要像下面的命令一样设置版本。
$ npm install @fortawesome/angular-fontawesome@0.3.xforawesome npm官方页面对每个angular版本使用哪个版本有完整的描述。
发布于 2020-11-16 21:16:22
在结尾处使用@时,需要指定版本号,如下所示
`@3.3` etc如果你想要最新的版本,只需删除从@开始的所有内容,它会自动安装最新的稳定版本
https://stackoverflow.com/questions/59547453
复制相似问题