Closed terencode closed 3 years ago
I tried installing ts-node
and typescript
but it didn't work as-is. Maybe there are some extra options to pass to use system packages?
Same issue.
Same here
please try again with latest master
yarn
and npm
are required
in ts-for-gjs
we need to run npm install
in the main dir we need to run yarn install
the updated Makefile should take care of it
Still getting make
error (installing with AUR -git
package):
git submodule update --init
Submodule 'gselib' (https://github.com/OttoAllmendinger/gselib.git) registered for path 'gselib'
Submodule 'ts-for-gjs' (https://github.com/sammydre/ts-for-gjs) registered for path 'ts-for-gjs'
Cloning into '/home/drakkar/.cache/pikaur/build/gnome-shell-extension-screenshot-git/src/gnome-shell-extension-screenshot-git/gselib'...
Cloning into '/home/drakkar/.cache/pikaur/build/gnome-shell-extension-screenshot-git/src/gnome-shell-extension-screenshot-git/ts-for-gjs'...
Submodule path 'gselib': checked out 'fb52faf398e1737a1ae3a57122acb3cbf675c4ec'
Submodule path 'ts-for-gjs': checked out 'ac6f2f84e6908f4cc27eadbd9e232eb0ae67fd4a'
make archive
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/drakkar/.cache/pikaur/build/gnome-shell-extension-screenshot-git/src/gnome-shell-extension-screenshot-git'
sed 's/_gitversion_/v50-3-g554b69b/' src/metadata.json.in > res/metadata.json
rm gnome-shell-screenshot.zip
rm: cannot remove 'gnome-shell-screenshot.zip': No such file or directory
make[1]: [gselib/make/gnome-shell-extension.mk:31: gnome-shell-screenshot.zip] Error 1 (ignored)
cd dist/ && zip ../gnome-shell-screenshot.zip *.js
/bin/sh: line 0: cd: dist/: No such file or directory
make[1]: *** [gselib/make/gnome-shell-extension.mk:32: gnome-shell-screenshot.zip] Error 1
make[1]: Leaving directory '/home/drakkar/.cache/pikaur/build/gnome-shell-extension-screenshot-git/src/gnome-shell-extension-screenshot-git'
make: *** [Makefile:8: all] Error 2
yarn
and npm
both installed
It's because the PKGBUILD sets EXTENSION_PATH
and gselib/make/gnome-shell-extension.mk
doesn't seem to support setting it manually.
please try again with latest master
Works for me now. Thanks for the follow up!
Here is the output when I run
make
:This is coming from
gselib/make/gnome-shell-extension.mk
:and executing
./ts-for-gjs/bin/run generate --configName=./.ts-for-girrc.js
gives: