Mike McCready
Mike McCready
- update submitted in PR #541
@jennifer-shehane Thanks for linking to the module where the error occurs! https://github.com/cypress-io/cypress/blob/760f60026dbf182d388a0c801919dd4f9313a607/packages/scaffold-config/src/detect.ts#L170-L180 Using the `DEBUG` setting for this module doesn't really reveal any more information: ```shell export DEBUG=cypress:scaffold-config:detect ``` ```text...
- This is related to the discussion in https://github.com/cypress-io/cypress/issues/18922 and https://github.com/cypress-io/cypress/issues/25960 about Cypress being Yarn pnp-aware - Also https://github.com/cypress-io/cypress/issues/22747 It may require some help from the Yarn Modern maintainers.
I found a hint in an old Cypress issue regarding pnp. I couldn't find `pnp.setup()` on the Yarn docs website though. This detects the installation of typescript in a Yarn...
- partial resolution in https://github.com/cypress-io/cypress/pull/30546 - `cli` usage currently remains
https://github.com/cypress-io/cypress/blob/988bb9321c2a22910ef30e1fc71a2f7cddebf638/cli/package.json#L91
- https://github.com/cypress-io/cypress/issues/3777
The recommended replacement [knip](https://knip.dev) also has a [Cypress plugin](https://knip.dev/reference/plugins/cypress).
Further test results which may assist troubleshooting: Results of `yarn workspace @packages/driver cypress:run --browser webkit --spec cypress/e2e/commands/cookies.cy.js` dependent on version of [playwright-webkit](https://www.npmjs.com/package/playwright-webkit) | Playwright | pass | fail | WebKit...
Since there hasn't been any progress made on this issue and a minimum version of [[email protected]](https://github.com/microsoft/playwright/releases/tag/v1.45.0) is required to support Ubuntu `24.04`, I suggest to modify [packages/driver/cypress/e2e/commands/cookies.cy.js](https://github.com/cypress-io/cypress/blob/develop/packages/driver/cypress/e2e/commands/cookies.cy.js) to skip tests...