actions icon indicating copy to clipboard operation
actions copied to clipboard

fix(cli): Change yarn install to npm install

Open sawa-zen opened this issue 4 years ago • 0 comments

Resolve https://github.com/netlify/actions/issues/54

Why

The colors.js used in netlify-cli has been broken. This is because the author of colors.js was angry that he wasn't being paid, so he added an infinite loop process and released it. netlify-cli addressed this issue, but it was a fix based on the assumption that npm was being used.

As a workaround please use npm install -g netlify-cli. We publish a shrinkfile file with the CLI that prevents such issues by locking the CLI dependencies during publish time, however yarn doesn't support it, hence it takes the latest (and broken) version of colors.js. Ref https://github.com/netlify/cli/issues/3981#issuecomment-1008368062

What

Changed yarn install without Docker file to npm install

sawa-zen avatar Jan 10 '22 01:01 sawa-zen