vercel / vercel/hyper

Ubuntu 22.04 cannot start the latest version of hyper!

Open
#6,783 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [ yes] I am on the latest Hyper.app version
  • [ yes] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: <Ubuntu 22.04 LTS>

  • Hyper.app version: <3.3.0_amd64>

  • Link of a Gist with the contents of your .hyper.js:
    After running hyper only the content inside the figure, no .hyper.js
    d3a6dc1a9b1e46c53670a36d82aff54

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):

  • The issue is reproducible in vanilla Hyper.app:

Issue

sudo dpkg -i hyper_3.3.0_amd64.deb
hyper

No hyper's interface is displayed, which means the startup failed.

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:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173: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)
[5991:0926/141605.819635:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
[6023:0926/141605.910177:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: 没有那个文件或目录 (2)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the startup failure with the supplied dpkg and hyper commands, then inspect the configuration paths shown in the stack trace: config/init.js, config/import.js, and config.js. Determine why configuration loading reports that module.exports is unset, and verify that Hyper starts successfully on Ubuntu 22.04 without the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.