Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ags init fails symlinking node_modules/astal #662

Open
ZerdoX-x opened this issue Jan 4, 2025 · 3 comments
Open

ags init fails symlinking node_modules/astal #662

ZerdoX-x opened this issue Jan 4, 2025 · 3 comments

Comments

@ZerdoX-x
Copy link

ZerdoX-x commented Jan 4, 2025

Currently following docs, just finished installation. I am on gentoo.

The node_modules directory contains the astal package, but its purpose is only to provide type information. The package.json is a file describing the project and tsconfig.json is a file containing settings for TypeScript.

ags init gives me: error: symlink /home/user/.config/ags/node_modules/astal: no such file or directory
and ags run: ✘ [ERROR] Invalid alias substitution: ""

@Aylur
Copy link
Owner

Aylur commented Jan 12, 2025

Can't repro, perhaps you missed -ldflags part of the installation? going from the ags run error it sounds like you don't have the astal-gjs package installed

@Ghoelian
Copy link

Ghoelian commented Jan 31, 2025

I'm running into the same issue right now. I did use a different directory to install all of the libraries to, because I am on an immutable Fedora flavour, so /usr is read-only. I added ~/.local/lib64 to my PKG_CONFIG_PATH, and installed astal to ~/.local.

pkg-config does report that astal-gjs is installed on my system though.

@Ghoelian
Copy link

Also I forgot to mention, the ~/.config/ags/node_modules folder is empty. The other files have been created correctly it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants