-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Type generation fails #617
Comments
This usually means you don't have the gtk4 gir file installed. |
arch |
I'm currently using nixos.Same error happened here:
|
I also encountered this problem. I am also using archlinux and have installed gtk4 dependencies. Is there any solution? |
I have the exact same error after installing Edit: |
Ags run works because type generation is not essential for the widgets to work. Types are useful for LSP, makes writing your config a lot easier to debug. |
The recommend command isn't working for me either. It's showing Edit: surrounding it like |
Use only one "-g" path where the girs modules are located (most likely it's
|
Tried this and got another error
Either way i think this is something ags needs to address. If this was a one off thing that only i faced it would make sense to find my own fix, but the fact that so many people are facing this probably means that installing ags does not guarantee you have everything you need to develop with it installed and ready to use. Hope this can be addressed soon! |
I had the same issue as well, but after a bit of thinking I figured this might have something to do with astal and then I realized i never installed astal or anything and just assumed it came with ags, but after running yay -S libastal-io-git libastal-git
ags types fixed it, but this should probably be in the ags documentation |
libastal-io-git libastal-git is required in ags in AUR(libastal-meta) |
I had same issue (ArchLinux) List command prints me
But most of these dependencies are installed in the system.
|
@vnva thanks, that was really helpful. Those files are provided by the |
@kotontrion thanks, yes, that was the problem, after installing this package I was able to initialize the project using |
@vnva Thank you - after installing those packages |
This didn't work for me when I had my config in a custom directory. I had to move it to |
For me on NixOS this solution does not work when my ags config is in my nixos configuration. |
Sorry if this is a stupid question but, when I init the type generation fails, im not sure why
When I try the recommended command it gives me the following error
Im not really sure whats going here
The text was updated successfully, but these errors were encountered: