Cypress Dependencies missing?

Hi all,

I was trying to add a cypress ui test, but neither Ubuntu/Docker or macOS seem to work. I am getting error about missing dependencies and I am totally lost. Does someone know how to configure?

The tests run fine locally with ci mode or with ui, running on macOS.

Thanks in advance,

Oli

> RUN_IN=preview cypress run --headless --browser electron

It looks like this is your first time using Cypress: 13.4.0

[STARTED] Task without title.

[FAILED] Cypress failed to start.

[FAILED]

[FAILED] This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

[FAILED]

[FAILED] Please refer to the error below for more details.

[FAILED]

[FAILED] ----------

[FAILED]

[FAILED] /Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --no-sandbox

[FAILED] /Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --smoke-test

[FAILED] /Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --ping=878

[FAILED]

[FAILED] ----------

[FAILED]

[FAILED] Platform: darwin-arm64 (22.6.0)

[FAILED] Cypress Version: 13.4.0

Cypress failed to start.

This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

Please refer to the error below for more details.

----------

/Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --no-sandbox

/Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --smoke-test

/Users/vagrant/Library/Caches/Cypress/13.4.0/Cypress.app/Contents/MacOS/Cypress: bad option: --ping=878

----------

Platform: darwin-arm64 (22.6.0)

Cypress Version: 13.4.0