Why do I get "Error: Cannot find module '@swc/core-linux-x64-gnu'" in Github actions? #4152
Unanswered
alexbjorlig
asked this question in
Q&A
Replies: 4 comments 16 replies
-
Are optional dependencies installed on the CI correctly? |
Beta Was this translation helpful? Give feedback.
6 replies
-
Having a similar issues:
CircleCI fails, while locally it all works just fine and even can use dependency directly from github, for some reason not in CricleCI |
Beta Was this translation helpful? Give feedback.
9 replies
-
This issue on the npm cli seems relevant: npm/cli#4828 Deleting node_modules and package-lock.json usually helps regenerate a correct package-lock.json that will work in CI for me. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Github actions, with their
ubuntu-latest
latest image. I'm using@swc/jest
and works perfect on my local machine. But when I run Github actions I often get this error:What could this be?
My package.json looks like this:
Beta Was this translation helpful? Give feedback.
All reactions