Linux 无法解析找不到盖茨比的匹配版本-cli@next
我已经尝试运行以下命令,无论是否使用sudo,我都无法安装gatsby。Linux 无法解析找不到盖茨比的匹配版本-cli@next,linux,ubuntu,npm,installation,gatsby,Linux,Ubuntu,Npm,Installation,Gatsby,我已经尝试运行以下命令,无论是否使用sudo,我都无法安装gatsby。 npm安装--全局gatsby@next盖茨比-cli@next 这是我的错误 npm ERR! code ETARGET npm ERR! notarget No matching version found for gatsby-cli@next. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR
npm安装--全局gatsby@next盖茨比-cli@next
这是我的错误
npm ERR! code ETARGET
npm ERR! notarget No matching version found for gatsby-cli@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-08T11_08_10_903Z-debug.log
npm中的
@next
指的是标记。在本例中,对于gatsby cli
,没有标记。默认情况下,如果运行:
npm install -g gatsby-cli
它将采用最新版本的gatsby cli
软件包
您可以在中查看更多详细信息。上面说成功,但我收到了很多不推荐的警告,可以吗?或者在继续之前我应该解决这个问题吗?它们是gatsby cli
依赖项本身的开发依赖项警告。他们根本不关心你,你也无法回避他们。你根本不用担心。因为它是一个发布版本,所以你的软件包是安全的。