oae / gnome-shell-extensions-sync

Syncs gnome shell keybindings, tweaks settings and extensions with their configuration across all gnome installations

Home Page:https://extensions.gnome.org/extension/1486/extensions-sync/

Repository from Github https://github.comoae/gnome-shell-extensions-syncRepository from Github https://github.comoae/gnome-shell-extensions-sync

yarn: libraries not found

Lithimlin opened this issue · comments

When trying to build this project, I get the following error:

> yarn build
yarn run v1.22.19
$ yarn run lock:types && yarn run build:types && yarn run build:ts && yarn run build:extension
$ cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gnome-shell:/usr/lib/mutter-10 yarn run gi-ts config --lock
$ /home/lith/gnome-shell-extensions-sync/node_modules/.bin/gi-ts config --lock
Generating local lock file for configuration...
$ yarn run clean:types && gi-ts generate
$ rm -rf ./@types
Loading docs.json...
Finding GIR files...
Using cached docs-lock.json
Resolving libraries...
    Error: Missing Libraries!
    .The following libraries were not found: Gtk, Soup, Gio, GObject, Gdk, 
    GdkPixbuf, GLib.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

It seems that some of the libraries listed in docs.json are not available? That's my guess at least.

I removed the type generation from the build processes. You can now build without gir packages from your distro.