切换node版本执行
export PATH=/www/server/nodejs/v18.20.5/bin:$PATH
node -v
npm -v
npm install -g yarn@1.22.22 --registry=https://registry.npmmirror.com
yarn -v
yarn install --frozen-lockfile
yarn build:prod
export PATH=/www/server/nodejs/v18.20.5/bin:$PATH
node -v
npm -v
npm install -g yarn@1.22.22 --registry=https://registry.npmmirror.com
yarn -v
yarn install --frozen-lockfile
yarn build:prod