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

error commander@9.0.0: 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/

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

posted @   徐同保  阅读(130)  评论(0编辑  收藏  举报  
努力加载评论中...
点击右上角即可分享
微信分享提示