小编Sve*_*nko的帖子

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

当我运行时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,这对于版本范围似乎是正确的。任何想法为什么我会收到此错误?

javascript node.js yarnpkg

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

javascript ×1

node.js ×1

yarnpkg ×1