tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
560 stars 117 forks source link

Is colors.js still an issue for this repo for anyone else? #165

Closed rebeccaalpert closed 1 year ago

rebeccaalpert commented 1 year ago

I tried pulling this into a closed-source Red Hat repo (it sounded like just what we were looking for) and I'm getting CLI output similar to https://github.com/Marak/colors.js/issues/285.

I'm running Mac OS Monterey 12.6.5.

Would you consider a PR migrating away from colors? It sounds like there are alternatives like @colors/colors at this point.

rebeccaalpert commented 1 year ago

If anyone else is running into this with yarn, you can add the following to your package.json file for now to get cypress-parallel to run (1.4.0 is the last "good version" before it was bricked):

"resolutions": {
    "colors": "1.4.0"
 },

Even though versions past 1.4.0 have been removed from npm's listing for colors, I think this repo is still getting them due to the "^1.4.0" listing for the dependency.

rebeccaalpert commented 1 year ago

Resolved by https://github.com/tnicola/cypress-parallel/pull/166.