vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.23k stars 3.51k forks source link

Unable to launch on Ubuntu 24.04 intel #7996

Closed impeterk closed 3 months ago

impeterk commented 3 months ago

Issue

I have installed hyper on freshly installed ubuntu 24.04 but I was not able to launch it. I have tried

All version displayed this message

~:$ hyper -v
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Error reading configuration: `module.exports` not set
    at _extract (/opt/Hyper/resources/app.asar/config/init.js:14:15)
    at _init (/opt/Hyper/resources/app.asar/config/init.js:35:28)
    at _import (/opt/Hyper/resources/app.asar/config/import.js:113:37)
    at Object.setup (/opt/Hyper/resources/app.asar/config.js:99:32)
    at Object.<anonymous> (/opt/Hyper/resources/app.asar/index.js:50:8)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)

[29128:0628/231441.643707:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.

[29161:0628/231441.769708:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

System Details Report

Report details

Hardware Information:

Software Information:

MissingSignal commented 3 months ago

Hyper is not yet supported on Ubuntu 24.04

As stated here a workaround is:

sudo chmod 4755 /opt/Hyper/chrome-sandbox

after the installation of the .deb file

impeterk commented 3 months ago

Hyper is not yet supported on Ubuntu 24.04

As stated here a workaround is:

sudo chmod 4755 /opt/Hyper/chrome-sandbox

after the installation of the .deb file

Funny I have tried that first time around, did not work. reinstalled hyper and it seems to work... Lovely

add-n2x commented 2 months ago

Re-installed hyper, applied the workaround and still doesn't work

hyper -v
[7402:0715/112519.282152:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)

edit: but this worked -

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0