error The engine “node“ is incompatible with this module. Expected version “^12.20.0 || >=14“. Got “

error [email protected]: The engine "node" is incompatible with this module. Expected version "^12.20.0 || >=14". Got "10.21.0"

解决方案:

 yarn config set ignore-engines true

yarn config set ignore-engines true is a one time fix for the "the engine node is incompatible with this module" problem。

https://classic.yarnpkg.com/en/docs/cli/install/

扫描二维码关注公众号,回复: 13722075 查看本文章
echo hello CODING
pwd
ls
npm -v
yarn config set ignore-engines true
yarn -v
yarn
ls
ls
echo 'install success'
yarn build:test
echo 'build success'
cd build
tar -zcvf test.tar.gz test
echo 'tar succcess'
ls
pwd

猜你喜欢

转载自blog.csdn.net/xutongbao/article/details/123071192