You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading to Yarn v2 with plug n play, Cypress tests and configuration which were previously working no longer work. Specifically, when running with debug mode, I see
cypress:server:plugins resolving typescript with options { basedir: '/Users/john/<repo>' } +0ms
cypress:server:plugins could not resolve typescript, error: Cannot find module 'typescript' from '/Users/john/<repo>' +9ms
Current behavior
When upgrading to Yarn v2 with plug n play, Cypress tests and configuration which were previously working no longer work. Specifically, when running with debug mode, I see
even though
typescript
is present in the project.I imagine this is probably because the
node_modules
directory no longer exists withpnp
. However, I found https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/util/ts-node.js, and tried usingresolve.sync("typescript")
myself, which seemed to work - so not sure why cypress is unable to resolve it.Desired behavior
It should continue working with no issues.
Versions
Broken on 6.5.0, 6.6.0.
The text was updated successfully, but these errors were encountered: