无法安装纱线
我安装了节点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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论