【发布时间】:2023-02-26 04:03:16
【问题描述】:
当我尝试安装 vaadin-cli 时出现以下错误。任何解决此问题的建议将不胜感激?
C:\Users\sanga\Desktop\Ela\mancala>npm install -g @vaadin/vaadin-cli --force
npm WARN using --force Recommended protections disabled.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.com/@vaadin%2fvaadin-cli - Not found
npm ERR! 404
npm ERR! 404 '@vaadin/vaadin-cli@*' 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\sanga\AppData\Local\npm-cache\_logs\2023-02-25T19_52_17_950Z-debug-0.log
下面提到了我的节点和 npm 版本:
C:\Users\sanga\Desktop\Ela\mancala>node -v
v18.14.2
C:\Users\sanga\Desktop\Ela\mancala>npm -v
9.5.1
我尝试卸载和安装节点,但问题仍然存在。
【问题讨论】: