-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error on post install script #3981
Comments
It seems to be caused by the author of colors.js adding infinite loop processing to the release. |
As a workaround please use If you're using
|
For those using GitHub actions like:
Simply swapped over the Netlify deploy setup action from: Where this forked repo's action uses: Don't do this change blindly, don't trust; verify: https://github.com/SamusElderg/actions/blob/master/cli/Dockerfile And ideally, just fork it and point to your own fork instead of blindly pointing to my repo, (or better yet, add the RUN command directly in your CI instead of using an action), it's only small, that way you don't have to trust that I won't change/break it in my repo |
`colors` package self-compromised with infinite loop zalgo
Re-opening as the fix didn't work |
Looks we need to wait for rafeca/prettyjson#54 (comment) as it was fixed in npkgz/cli-progress#116 (comment) and winstonjs/logform#128 |
npm removed the offending colors versions so this should no longer happen. |
Closing as solved |
Describe the bug
yarn global add netlify-cli
fails withSee full logs below
To Reproduce
Steps to reproduce the behavior:
yarn global add netlify-cli
CLI Output
Run failure for github action https://github.com/mrloop/activity-merge/actions/runs/1673191915 see logs
3_Install netlify-cli.txt
The text was updated successfully, but these errors were encountered: