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.

On opening Cypress the first time: Gtk-Message: Failed to load module "canberra-gtk-module"

See original GitHub issue

Current behavior:

On first loading of cypress with: ./node_modules/.bin/cypress open

Desired behavior:

To log or note that the library was missing.

How to reproduce:

Install Debian 9 Stretch in a VM (using Oracle VM). Used nvm (0.33.2) to install latest node (8.4.0) and npm (5.3.0) Created a default directory and cd and ran npm init Ran npm install cypress --save-dev Ran ./node_modules/.bin/cypress open Shows on terminal:

dlazov@zovs-debian:~/projects/cypress-tests/first-app$ ./node_modules/.bin/cypress open
It looks like this is your first time using Cypress: 0.20.0

 ✔  Verified Cypress! /home/dlazov/projects/cypress-tests/first-app/node_modules/cypress/dist/Cypress

Opening Cypress...
Gtk-Message: Failed to load module "canberra-gtk-module"

Some searches indicated that this may be an O/S issue with a missing library:

I will try installing that lib after reporting this and see if that clears things up.

apt-get install libcanberra-gtk-module

  • Operating System: Debian 9
  • Cypress Version: 0.20.0
  • Browser Version: Chrome 61.0.3163.79

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
stevenyixcommented, Dec 22, 2018

i encountered this same issue as well on Ubuntu 18.04. installing the canberra library solved the issue.

sudo apt-get install libcanberra-gtk-module

3reactions
jakuubcommented, Aug 13, 2018

The same error occurred on Ubuntu 18.04 LTS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load module "canberra-gtk-module" - Ask Ubuntu
I setup my JAVA_HOME path to point to JDK 7. When I run IntelliJ I get this message: Gtk-Message: Failed to load module...
Read more >
Troubleshooting | Cypress Documentation
Here is how you can launch Cypress directly without the npm CLI module. First, find where the binary is installed using the cypress...
Read more >
Error message in Debian Stretch: Failed to load module ...
Woefully, in the first case, I got that this package is already installed, while in the second one the terminal response stated that...
Read more >
When the idea starts, it gives the error "Failed to load module ...
sudo apt install libcanberra-gtk0 libcanberra-gtk-module ... ran the above command, this error disappeared during any Jetbrains IDE launch.
Read more >
How to fix this error: "Failed to load module: appmenu-gtk ...
10 votes, 11 comments. gedit texttosend.txt Gtk-Message: 16:19:46.078: Failed to load module "appmenu-gtk-module" I know I can safely ignore ...
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