A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cypress-io/cypress/issues/24822 below:

"Cypress" is damaged and can't be opened. You should move it to the Trash. · Issue #24822 · cypress-io/cypress · GitHub

Current behavior

Hi there! 👋 Thanks for your continued effort on Cypress, really helpful for testing!

The Cypress binary with cypress@11.2.0 (11.2.0.1936146) causes an error on macOS 13.0.1 (22A400) (with M1 Apple Silicon):

“Cypress” is damaged and can’t be opened. You should move it to the Trash.

$ yarn cypress open --e2e --browser chrome
It looks like this is your first time using Cypress: 11.2.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.

----------

Command was killed with SIGKILL (Forced termination): /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=673

----------

Platform: darwin-arm64 (22.1.0)
Cypress Version: 11.2.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "cy" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /opt/homebrew/Cellar/node@18/18.12.1/bin/node
Arguments: /opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js test
Directory: /Users/k/p/courses/packages/fusion.upleveled.io
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Desired behavior

Cypress should not crash and present a security warning on macOS.

Test code to reproduce

Any test code

Cypress Version

11.2.0

Node version

18.12.1

Operating System

macOS 13.0.1 (22A400)

Debug Logs
cypress:cli:cli cli starts with arguments ["/opt/homebrew/Cellar/node@18/18.12.1/bin/node","/Users/k/p/courses/packages/fusion.upleveled.io/node_modules/.bin/cypress","open","--e2e","--browser","chrome"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +0ms
  cypress:cli:cli opening Cypress +1ms
  cypress:cli parsed cli options { browser: 'chrome', e2e: true } +42ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli checking environment variables +0ms
  cypress:cli checking if executable exists /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress +2ms
  cypress:cli Binary is executable? : true +1ms
  cypress:cli binaryDir is  /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app +0ms
  cypress:cli Reading binary package.json from: /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/Resources/app/package.json +0ms
  cypress:cli Found binary version 11.2.0 installed in: /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app +2ms
  cypress:cli could not read binary_state.json file at "/Users/k/Library/Caches/Cypress/11.2.0/binary_state.json" +3ms
  cypress:cli {} +0ms
  cypress:cli is Verified ? undefined +1ms
  cypress:cli running binary verification check 11.2.0 +0ms
It looks like this is your first time using Cypress: 11.2.0


  cypress:cli clearing out the verified version +3ms
  cypress:cli needs Xvfb? false +0ms
  cypress:cli spawning, should retry on display problem? false +0ms
  cypress:cli disabling Electron sandbox +0ms
  cypress:cli running smoke test +0ms
  cypress:cli using Cypress executable /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress +0ms
  cypress:cli smoke test command: /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455 +0ms
  cypress:cli smoke test timeout 30000 ms +0ms
  cypress:cli Smoke test failed: Error: Command was killed with SIGKILL (Forced termination): /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455
    at makeError (/Users/k/p/courses/node_modules/cypress/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Users/k/p/courses/node_modules/cypress/node_modules/execa/index.js:114:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  shortMessage: 'Command was killed with SIGKILL (Forced termination): /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455',
  command: '/Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455',
  exitCode: undefined,
  signal: 'SIGKILL',
  signalDescription: 'Forced termination',
  stdout: '',
  stderr: '',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
} +7s
  cypress:cli error message: Command was killed with SIGKILL (Forced termination): /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455 +2ms

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.

----------

Command was killed with SIGKILL (Forced termination): /Users/k/Library/Caches/Cypress/11.2.0/Cypress.app/Contents/MacOS/Cypress --no-sandbox --smoke-test --ping=455

----------

Platform: darwin-arm64 (22.1.0)
Cypress Version: 11.2.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "cy" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /opt/homebrew/Cellar/node@18/18.12.1/bin/node
Arguments: /opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js test
Directory: /Users/k/p/courses/packages/fusion.upleveled.io
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command
Workaround

Open System Settings (System Preferences on pre-Ventura macOS versions) and navigate to Privacy & Security (Security & Privacy on pre-Ventura macOS versions). Here you will see a button to allow Cypress to open anyway, even though it was not signed by a verified developer. Full instructions: #24822 (comment)

Other

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4