Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress, pnpm and OSX ARM64 gives #29495

Closed
intellix opened this issue May 9, 2024 · 2 comments
Closed

Cypress, pnpm and OSX ARM64 gives #29495

intellix opened this issue May 9, 2024 · 2 comments
Labels
package manager: pnpm Issues relating to pnpm stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: installation Issue during installation or downloading Cypress

Comments

@intellix
Copy link

intellix commented May 9, 2024

Current behavior

We're trying to use Cypress from an nrwl/nx project which has dependencies installed via pnpm. I'm using volta for node version management control and various colleagues use nvm.

No matter what we do to start cypress tests, we get an error about missing dependencies from the globally installed app about a missing dependency.

We've tried 13.8.1 and now 13.9.0 as well. All of us get the same error.

Error: Cannot find module '@swc/helpers/_/_interop_require_wildcard'
Require stack:
- ~/Library/Caches/Cypress/13.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_require_async_child.js
- ~/Library/Caches/Cypress/13.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/require_async_child.js

Debug logs

N/A

Cypress Version

13.9.0

Node version

v20.10.0

Package Manager

pnpm

Package Manager Version

9.1.0

Operating system

Linux

Operating System Version

14.3.1

Other

I believe that it works for our windows users.

From an nx report:

Node   : 20.11.1
   OS     : darwin-arm64
   pnpm   : 9.1.0
   
   nx                 : 17.2.8
   @nx/js             : 17.2.8
   @nx/jest           : 17.2.8
   @nx/linter         : 17.2.8
   @nx/eslint         : 17.2.8
   @nx/workspace      : 17.2.8
   @nx/angular        : 17.2.8
   @nx/cypress        : 17.2.8
   @nx/devkit         : 17.2.8
   @nx/esbuild        : 17.2.8
   @nx/eslint-plugin  : 17.2.8
   @nx/storybook      : 17.2.8
   @nrwl/tao          : 17.2.8
   @nx/web            : 17.2.8
   @nx/webpack        : 17.2.8
   typescript         : 5.1.6
@intellix intellix added the topic: installation Issue during installation or downloading Cypress label May 9, 2024
@jennifer-shehane jennifer-shehane added package manager: pnpm Issues relating to pnpm stage: needs investigating Someone from Cypress needs to look at this labels May 20, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Nov 17, 2024
@intellix
Copy link
Author

Trying it again on 13.13.1 and it seems to work. I feel like I tried one of the later versions before and it was the same, so maybe something else changed in the meantime. Will close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package manager: pnpm Issues relating to pnpm stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: installation Issue during installation or downloading Cypress
Projects
None yet
Development

No branches or pull requests

3 participants