gsa icon indicating copy to clipboard operation
gsa copied to clipboard

build old versions like v21.4.4 with yarn > 1.x (fix unexpected end of file)

Open Dexus opened this issue 3 years ago • 0 comments

I would only let this as a notice here:

If you build this, you maybe get errors from yarn <2.x with unexpected end of file response.

You should update your yarn to v2+ and add the skip for preflight checks:

echo "SKIP_PREFLIGHT_CHECK=true" >> .env
npm i -g yarn
yarn set version berry # can also be stable
# from here you can run normal yarn commands
yarn
yarn build

Dexus avatar May 12 '22 07:05 Dexus