Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 无法解析找不到盖茨比的匹配版本-cli@next_Linux_Ubuntu_Npm_Installation_Gatsby - Fatal编程技术网

Linux 无法解析找不到盖茨比的匹配版本-cli@next

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

我已经尝试运行以下命令,无论是否使用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! 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
依赖项本身的开发依赖项警告。他们根本不关心你,你也无法回避他们。你根本不用担心。因为它是一个发布版本,所以你的软件包是安全的。