You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[809:0617/151243.281369:ERROR:bus.cc(395)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
564
+
This is not the recommended approach, and Cypress may not work correctly.
565
+
566
+
Please install the cypress NPM package and follow the instructions here:
567
+
568
+
https://on.cypress.io/installing-cypress
562
569
101
563
570
```
564
571
565
-
If the smoke testfails to execute, check if a shared library is missing (a
566
-
common problem on Linux machines without all of the Cypress dependencies
567
-
present).
572
+
If there is a missing dependency, the smoke testwill fail to run and the application will print an error message
573
+
referring to [Linux Prerequisites](../getting-started/installing-cypress#Linux-Prerequisites).
574
+
Follow the instructions to ensure all required dependencies are installed.
**Tip:** use [Cypress Docker image](/examples/docker) or install dependencies by
580
-
copying them from one of our official Docker images.
592
+
**Tip:** If you are having problems with dependencies, use a [Cypress Docker image](../getting-started/installing-cypress#Docker-Prerequisites). These have all Cypress dependencies pre-installed.
593
+
594
+
On Ubuntu `24.04` you may receive a fatal error including the text `FATAL:setuid_sandbox_host.cc` due to added security in this version of Ubuntu.
595
+
Refer to the [Ubuntu 24.04 Release notes](https://discourse.ubuntu.com/t/noble-numbat-release-notes/39890) in the section [Unprivileged user namespace restrictions](https://discourse.ubuntu.com/t/noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions-15) and apply one of the workarounds to disable unprivileged user namespace restrictions for the entire system, either for one boot or persistently, as described.
596
+
597
+
Alternatively you can follow the instructions in the error message similar to:
581
598
582
-
**Note:** verbose Electron logging might show warnings that still allow Cypress
583
-
to work normally. For example, Cypress opens normally despite the scary output
584
-
below:
599
+
> You need to make sure that `/home/<username>/.cache/Cypress/13.15.0/Cypress/chrome-sandbox` is owned by root and has mode 4755.
[475:0617/150421.326986:ERROR:bus.cc(395)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
589
-
[475:0617/150425.061526:ERROR:bus.cc(395)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
590
-
[475:0617/150425.079819:ERROR:bus.cc(395)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
591
-
[475:0617/150425.371013:INFO:CONSOLE(73292)] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools
592
-
You might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq", source: file:///root/.cache/Cypress/3.3.1/Cypress/resources/app/packages/desktop-gui/dist/app.js (73292)
0 commit comments