无法安装纱线

发布于 2025-02-10 08:09:38 字数 874 浏览 1 评论 0原文

我安装了节点v16.15.1,npm v8.12.2 enter Image Descriage

$  npm install -g yarn

代码> - global ,- local被弃用。使用- 位置=全局而不是。

npm err!代码E404

NPM错误! 404找不到-get https:/ /registry/yarn/-/yarn-1.22.19.tgz - not_found

npm err! 404

NPM错误! 404'YARN@https://skimdb.npmjs.com/registry/yarn/yarn/yarn-1.22.19.tgz'不在此注册表中。

npm err! 404

NPM错误! 404请注意,您也可以从

NPM ERR安装! 404 TARBALL,文件夹,HTTP URL或GIT URL。

npm err! 中找到此运行的完整日志

可以在: NPM ERR ! C:\ Users \ Admin \ AppData \ local \ npm-cache_logs \ 2022-06-25T07_47_47_50_50_510Z-DEBUG-0.LOG

I installed node v16.15.1, npm v8.12.2 enter image description here

$  npm install -g yarn

npm WARN config global --global, --local are deprecated. Use --location=global instead.

npm ERR! code E404

npm ERR! 404 Not Found - GET https://skimdb.npmjs.com/registry/yarn/-/yarn-1.22.19.tgz - not_found

npm ERR! 404

npm ERR! 404 'yarn@https://skimdb.npmjs.com/registry/yarn/-/yarn-1.22.19.tgz' is not in this registry.

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\Admin\AppData\Local\npm-cache_logs\2022-06-25T07_47_50_510Z-debug-0.log

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文