I am running a WSL2 Ubuntu system. I'm attempting to follow this tutorial to launch an Electron boilerplate.
When running yarn dev I come across this error:
[14143:0218/164010.657008:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/alex/final-project/test/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755
--no-sandbox yields the same error.
I have attempted changing the systemctl:
sysctl kernel.unprivileged_userns_clone=1 which does not work on WSL. I attempted to follow this tutorial to gain access to systemctl.
This did not work, with the PowerShell commands being outdated and
systemctl is-active dbus returning:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Any and all help is appreciated. Thanks in advance!