pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.89k stars 268 forks source link

building pkg doesn't work #1156

Closed ghost closed 3 years ago

ghost commented 3 years ago

(1) Issue/Bug Description: when trying to install it from the aur using the command provided by this GitHub page and then by trying to git clone it from this Github this error occurred:

==> Starting build()... UUID is "pop-shell@system76.com" depcheck rm -rf _build schemas/gschemas.compiled target tsc src/settings.ts:25:24 - error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.

25 global.log(err)



Found 1 error.

make: *** [Makefile:34: transpile] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gnome-shell-extension-pop-shell

**(2) Steps to reproduce (if you know):**

when installing from the aur:
             $yay -S gnome-shell-extension-pop-shell
when installing from github
            $git clone https://github.com/pop-os/shell.git 
            $cd shell
            $make

**(3) Expected behaviour:**

no error occurs

**(4) Distribution (run `cat /etc/os-release`):**

Arch Linux
Linux-zen 5.13.13
gnome 40.4

**(7) Where was Pop Shell installed from:**

aur and git

**(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):**

one 2k monitor

**(9) Other Installed/Enabled Extensions:**

(doesn't matter)
blur my shell
clear top bar
control blur effect on lock screen
custom hot corners extended
disable workspace switch animation for gnome 40+
gnome bedtime
go to last workspace
hide top bar
unite 
user themes
window is ready notification remover
workspace switch wraparound

**(10) Other Notes:**

I tried if installing the developer dependencies would help(npm, typescript@latest, node.js), but it did nothing
ceqantx commented 3 years ago

Having the same issue

mmstick commented 3 years ago

Newer versions of TypeScript must have gotten more strict in its type checking. This compiles on TypeScript 4.1. I will have to set up a newer version of TypeScript to see if there are any other new errors.