-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
Describe the bug
HyprPanel cannot presently be built because current Astal doesn't seem to create a GJS package anywhere, let alone /usr/share/astal/. Expecting this package to be present, any attempt to build HyprPanel will be prevented.
Running npm i inside the directory yields this error:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /usr/share/astal/gjs/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/usr/share/astal/gjs/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mxch/.npm/_logs/2025-11-15T20_50_03_092Z-debug-0.log
Without successfully performing the NPM installation, running meson setup build returns a successful setup, but running meson compile -C build following that instead produces a lengthy series of errors for every time the code attempts to import Astal. Most assume this format:
✘ [ERROR] Could not resolve "astal"
src/components/settings/shared/Label.tsx:1:35:
1 │ import { Binding, execAsync } from 'astal';
╵ ~~~~~~~
You can mark the path "astal" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
To Reproduce
- use (hypothetically) any OS without up-to-date Hyprland packages
- manually build latest GitHub versions of Astal IO, GTK3, GTK4 and AGS according to manual instructions (!! and set the meson installation directory to /usr !!)
- perform step 3 of HyprPanel installation (
npm iin directory), or - perform steps 4 and 5 of HyprPanel installation (
meson setup build;meson compile -C build)
Expected behavior
successful NPM installation; subsequent meson build
Desktop
- Distribution: Debian
- Window Manager: Hyprland
- AGS version: 3.0.0
- Astal version: 0.1.0
Metadata
Metadata
Assignees
Labels
No labels