github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Error "Cannot find module 'cypress'" using yarn v1.22.18

Open onattech opened this issue 3 years ago • 1 comments

Github actions is failing with the following error for cypress v.10.0.2 image

This is my yaml file as mentioned here in the docs https://github.com/marketplace/actions/cypress-io#basic

name: End-to-end tests
on: [push]
jobs:
  cypress-run:
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      # Install NPM dependencies, cache them correctly
      # and run all Cypress tests
      - name: Cypress run
        uses: cypress-io/github-action@v4

onattech avatar Jun 03 '22 17:06 onattech

Same problem here (not using yarn): https://github.com/cypress-io/github-action/issues/578

kpturner avatar Jun 23 '22 16:06 kpturner

This is a stale issue using older action versions which are no longer supported.

github-action is generally working with Yarn in the current @v6 version and if by any chance there is still a problem, then please submit a new issue.

MikeMcC399 avatar Nov 04 '23 07:11 MikeMcC399