执行yarn install报错error @ctrl/tinycolor@3.4.0: The engine "node" is incompatible with this module的解决办法

执行yarn install的时候报错

error @ctrl/tinycolor@3.4.0: The engine "node" is incompatible with this module. Expected version ">=10". Got "6.17.1"
error Found incompatible module.

解决办法:

执行

[root@slave02 alist-web-main]# yarn config set ignore-engines true
yarn config v1.22.10
success Set "ignore-engines" to "true".
Done in 0.06s.

看字面的意思是打开ignore-engines

执行完之后重新执行yarn install,没有报错了。

发表评论

后才能评论