【发布时间】:2020-10-19 19:38:48
【问题描述】:
我正在尝试在 Windows 10 机器的 WSL ubuntu 上设置赛普拉斯。 WSL ubuntu 没有提供自己的显示。因此,在设置赛普拉斯之前,我们需要执行几个步骤。我按照此处博客中提到的所有步骤进行操作: 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。 有人能早点解决这个问题吗?谁能帮我解决这个问题?
谢谢
【问题讨论】:
-
谢谢你的链接,它就像一个魅力????
-
你已经解决了吗?
标签: reactjs windows-10 windows-subsystem-for-linux xlaunch