gpt4 book ai didi

laravel - Apple Silicon M1 上的 Cypress.io 和 Yarn – "Cypress failed to start. This may be due to a missing library or dependency."

转载 作者:行者123 更新时间:2023-12-03 08:16:55 34 4
gpt4 key购买 nike

我尝试使用 Cypress 进行测试。在配备 Apple M1 芯片的 MacBook 上将 Laravel 和 Yarn 作为一个包(v8.3.1)。安装没问题,但是 cypress open 后我只能看到:

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.
----------
rosetta error: /var/db/oah/c642c6...79172/Cypress.aot: attachment of code signature supplement failed: 1
----------
Platform: darwin (20.5.0)
Cypress Version: 8.3.1

我应该如何运行 Cypress?

最佳答案

我找到了解决方案。您所要做的就是将带有 M1 芯片的 Mac 升级到操作系统版本。 11.5.x(BigSur)

Cypress 与 BigSur 11.5.x 运行良好。

关于laravel - Apple Silicon M1 上的 Cypress.io 和 Yarn – "Cypress failed to start. This may be due to a missing library or dependency.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69097958/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com