当版本正确时,为什么 Yarn 会说“发现不兼容的模块”?

Sve*_*nko 7 javascript node.js yarnpkg

当我运行时yarn,我收到以下错误:

yarn install v0.16.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error recursive-iterator@2.0.1: The engine "node" is incompatible with this module. Expected version ">=6.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Run Code Online (Sandbox Code Playgroud)

但是,我安装的 Node 版本是v6.9.2-pre,这对于版本范围似乎是正确的。任何想法为什么我会收到此错误?

Sve*_*nko 7

升级到当前标签后v7.0.0,node -vv7.0.0纱线工作得很好。我认为,这个问题与-pre发行版本有关,或者可能与版本输出中的前缀有关。