Skip to content

Web-greeter installer fails compiling themes #87

@thekitsunedev

Description

@thekitsunedev

Environment

  • OS: Arch linux
  • web-greeter version: 3.5.3
  • LightDM version: 1.32.0

Bug description

Installer fails to build web-greeter when compiling themes due to a deprecated TypeScript compiler option.

themes/themes/gruvbox/tsconfig.json:47:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.

47     "moduleResolution": "node",                  /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
                           ~~~~~~

Steps to reproduce

Either:

yay -S web-greeter

or

git clone --recursive https://github.com/JezerM/web-greeter
cd web-greeter
sudo make install

Temporary fix

git clone https://github.com/JezerM/web-greeter
cd web-greeter

Add "ignoreDeprecations": "6.0" to compilerOptions object in

  • themes/themes/gruvbox/tsconfig.json
  • themes/themes/dracula/tsconfig.json

Then compile with sudo make install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions