error [email protected]: The engine "node" is incompatible with this module. Expected version "^12.20.0 || >=14". Got "10.21.0"
solution:
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