holochain / launcher

Desktop launcher to install and use Holochain apps locally
262 stars 22 forks source link

[hc launch] Toggling devtools in nix shell fails #216

Open matthme opened 6 months ago

matthme commented 6 months ago

Describe the bug Toggling the developer tools of a window launched with hc launch in nix shell fails with the following error:

[1] VM 0x7fff9d406000 on pid 473270 received NeedDebuggerBreak trap
[1] 
[1] (process:473428): Gtk-WARNING **: 20:13:20.160: Locale not supported by C library.
[1]     Using the fallback 'C' locale.
[1] Gtk-Message: 20:13:20.199: Failed to load module "canberra-gtk-module"
[1] Gtk-Message: 20:13:20.199: Failed to load module "canberra-gtk-module"
[1] MESA-LOADER: failed to open iris: /run/opengl-driver/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
[1] MESA-LOADER: failed to open zink: /run/opengl-driver/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
[1] MESA-LOADER: failed to open kms_swrast: /run/opengl-driver/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
[1] MESA-LOADER: failed to open swrast: /run/opengl-driver/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
[1] Failed to create GBM device for render device: /dev/dri/renderD128: No such file or directory

To Reproduce Steps to reproduce the behavior: Clone https://github.com/Soushi888/request-and-offers , checkout commit 4f561fc62719fdf3153f5f07cd4cffd90a08a120, then run

nix develop
npm i
npm run start

and try to toggle the developer tools.