我正在尝试在 Windows 10 上的 WSL Ubuntu 上设置 Cypress。WSL Ubuntu 没有自己的显示器,因此在设置 Cypress 之前,我们需要遵循一些步骤。我按照这里博客中提到的所有步骤进行操作:https://nickymeuleman.netlify.app/blog/gui-on-wsl2-cypress 但是我一直收到以下错误:
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
----------
(Cypress:1690): Gtk-WARNING **: 10:15:51.766: cannot open display: 183.87.117.18:0.0
----------
Platform: linux (Ubuntu Linux - 18.04)
Cypress Version: 4.6.0
我也在 Windows 10 上安装了 XLaunch。 之前有人能够解决这个问题吗?请问有人可以帮助我解决吗?
谢谢