标签: xlaunch

在 Windows 10 的 WSL ubuntu 上设置 Cypress

我正在尝试在 WSL ubuntu 上为 Windows 10 机器设置 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
Run Code Online (Sandbox Code Playgroud)

我还为 Windows 10 安装了 XLaunch。有人能更早地解决这个问题吗?任何人都可以帮我解决这个问题吗?

谢谢

reactjs windows-10 windows-subsystem-for-linux xlaunch

8
推荐指数
1
解决办法
5301
查看次数