question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Launch Hanging on Ubuntu when `snap` version of Chromium is installed

See original GitHub issue

Current behavior:

cypress open does not open Cypress. cypress run just seems to hang.

Logs: https://pastebin.com/ULZwQEj8

Snapshot of behavior and logs: https://files.gitter.im/cypress-io/cypress/g4g2/image.png

System: image

Desired behavior:

Should be able to run tests.

Test code to reproduce

As this is happening prior to Cypress running I don’t think its anything I can give reproduction steps for.

DEBUG=* $(npm bin)/cypress open DEBUG=* $(npm bin)/cypress run

Are the commands I am running.

Versions

v4.3.0 and v4.4.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:11
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
marinsagovaccommented, Apr 16, 2020

I also have that issue:

  • tried npm cache clean
  • xvfb reset
  • reinstall packages

Similar issue that I reported: https://github.com/cypress-io/cypress/issues/7027

Removed chromium from snapd and regular apt and now is worked.

2reactions
bhayward93commented, Apr 16, 2020

Also solved by uninstalling the snap version of Chromium. Thanks @Lektro9 & @jbpallingayan.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chromium installation error in Lubuntu 20.04
Save this question. I've installed Lubuntu 20.04 x64, and wanted to install chromium browser. => Installing the chromium snap ==> Checking ...
Read more >
the chromium snap takes a long time to install without ...
Running snap directly there was a progress indicator so i could see that snap downloads are very very very slow. 200kb/s. I'm on...
Read more >
Intent to provide chromium as a snap only - Desktop
snap install chromium --channel=candidate/from-source ... The user is stuck using the version of the Chromium snap that they initially ...
Read more >
Ubuntu chromium snap error - Troubleshooting
I fixed it by uninstalling chromium and install..... Got all my TVE channels back. sudo apt install chromium-bsu.
Read more >
Ubuntu Devs Finally Fix Frustrating Firefox Snap Flaw
First: double-check that you have the latest version of the xdg-desktop-portal package (v1.14.4-1ubuntu2~22.04.1 to be specific). This is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found