无法在 Ubuntu 18.04 上 运行 赛普拉斯
Cannot run Cypress on Ubuntu 18.04
我在 Ubuntu 18.04 上尝试 运行 赛普拉斯并不断收到相同的错误。 运行 在 Ubuntu 18.04 上 运行ning Cypress 有其他人遇到问题吗?
赛普拉斯 3.8.2
Ubuntu18.04
此问题已在此处解决:Cypress verify command failing #6184
我尝试了建议的解决方法,问题消失了。
Xvfb :1 -screen 0 1280x800x24 &
export DISPLAY=:1
npx cypress verify
npx cypress run
在 gitter 提要中,Gleb Bahmutov 解释了
"It seems Ubuntu 18.04 XVFB has a weird behavior where it does not set
default screen, we have added explicit set in cypress-io/cypress#6184
but it has not yet been released."
我在 Ubuntu 18.04 上尝试 运行 赛普拉斯并不断收到相同的错误。 运行 在 Ubuntu 18.04 上 运行ning Cypress 有其他人遇到问题吗?
赛普拉斯 3.8.2 Ubuntu18.04
此问题已在此处解决:Cypress verify command failing #6184
我尝试了建议的解决方法,问题消失了。
Xvfb :1 -screen 0 1280x800x24 &
export DISPLAY=:1
npx cypress verify
npx cypress run
在 gitter 提要中,Gleb Bahmutov 解释了
"It seems Ubuntu 18.04 XVFB has a weird behavior where it does not set default screen, we have added explicit set in cypress-io/cypress#6184 but it has not yet been released."