NPM安装字体很棒会引发错误

发布于 2025-01-30 10:36:51 字数 763 浏览 2 评论 0原文

想知道是否有人来了这个问题,是否是如何解决的?

试图在NPM中安装Fontawesome。我所有的其他包装都可以安装好,但是字体很棒,我在下面遇到错误...

ps c:\ users \ sihar \ dropbox \ xampp \ htdocs \ website_3.0> NPM安装 - 保存 @fortawesome/fontawesome

npm err!代码E401 NPM ERR!不正确或丢失密码。 npm err!如果 您正在尝试登录,更改密码,创建NPM ERR! 身份验证令牌或启用两因素身份验证,然后npm err! 这意味着您可能会错误地键入密码。 npm err! 请重试或在以下方式恢复密码:npm err!
https://www.npmjs.com/forgot npm err! npm err!如果你在做一些 其他操作然后您保存的凭据是NPM错误!大概是出去 日期。要纠正此问题,请尝试再次登录:npm err!
NPM登录

npm err!可以在:NPM ERR!
中找到此运行的完整日志 C:\ Users \ Sihar \ AppData \ local \ npm-cache_logs \ 2022-05-20T04_04_04_20_20_871Z-DEBUG-0.LOG

往常都可以很好地感谢任何帮助。 西蒙

Wondering if anyone has come accross this issue, and if how, what's the fix?

trying to install fontawesome in npm. all my other packages are installed fine, but comes to font awesome and I get the errors below...

PS C:\Users\sihar\Dropbox\xampp\htdocs\Website_3.0> npm install --save
@fortawesome/fontawesome-free

npm ERR! code E401 npm ERR! Incorrect or missing password. npm ERR! If
you were trying to login, change your password, create an npm ERR!
authentication token or enable two-factor authentication then npm ERR!
that means you likely typed your password in incorrectly. npm ERR!
Please try again, or recover your password at: npm ERR!
https://www.npmjs.com/forgot npm ERR! npm ERR! If you were doing some
other operation then your saved credentials are npm ERR! probably out
of date. To correct this please try logging in again with: npm ERR!
npm login

npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\sihar\AppData\Local\npm-cache_logs\2022-05-20T04_04_20_871Z-debug-0.log

as always any assistance is appreciated.
Simon

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假装爱人 2025-02-06 10:36:51

我通过安装先前版本的NPM来解决此问题。

I fixed this by installing a previous version of npm.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文