b00f / gnome-clipboard

A clipboard manager for Gnome desktop
GNU General Public License v3.0
30 stars 12 forks source link

`make install` fails with Error 2 #9

Closed bouncinglime closed 2 years ago

bouncinglime commented 2 years ago

Hello -

I am unable to install from extensions.gnome.org I think due to issues with Firefox and snap (see https://github.com/keepassxreboot/keepassxc-browser/issues/1426 for more info and a similar broken situation). I have run the steps for manual install

git clone https://github.com/b00f/gnome-clipboard.git``
cd gnome-clipboard
make install

but I get the following error :

$ make install
sh scripts/transpile.sh
scripts/transpile.sh: 22: tsc: not found
find: ‘src/build’: No such file or directory
Missing extension.js in extension pack
make: *** [Makefile:21: pack] Error 2

Any suggestions?

OS : Pop!_OS 21.10 GNOME : 40.4.0 Firefox : 96.0

Thank you.

b00f commented 2 years ago

Did you install Typescript: npm install typescript

You need to install typescript to compile the source code

bouncinglime commented 2 years ago

This can be closed; apologies for the very belated reply. I fixed the issue by disabling apparmor for firefox; I hadn't realized it was running for more than just Zoom. It was preventing me from connecting firefox to anything else, including my password manager. As soon as I disabled apparmor's firefox profile, both that and gnome extensions worked from the browser again.