krohnkite
krohnkite copied to clipboard
Build consistently fails.
Symptom I'm unable to build this even though I have the dependencies, neither from the AUR or from a git clone.
How to Reproduce
- Try building
Expected behavior Program builds
Environment
- Operating System: Manjaro Linux
- KDE Plasma Version: 5.20.5
- KDE Frameworks Version: 5.78.0
- Qt Version: 5.15.2
- Kernel Version: 5.10.7-3-MANJARO
- OS Type: 64-bit
- Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
- Memory: 7.5 GiB of RAM
- Graphics Processor: Mesa Intel® HD Graphics 620
- Krohnkite version: git commit plasmapkg2, building from source doesn't work.
- List of KWin scripts in use: N/A
Notes
mkdir: created directory 'pkg'
mkdir: created directory 'pkg/contents'
mkdir: created directory 'pkg/contents/config'
'res/config.xml' -> 'pkg/contents/config/main.xml'
mkdir: created directory 'pkg/contents/ui'
sed "s/\$VER/0.8/" res/metadata.desktop \
| sed "s/\$REV/2a47753/" \
> pkg/metadata.desktop
'res/main.qml' -> 'pkg/contents/ui/main.qml'
tsc
'res/config.ui' -> 'pkg/contents/ui/config.ui'
'res/popup.qml' -> 'pkg/contents/ui/popup.qml'
src/extern/global.d.ts:36:13 - error TS2451: Cannot redeclare block-scoped variable 'console'.
36 declare let console: any;
~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:169:13
169 declare var console: Console;
~~~~~~~
'console' was also declared here.
src/extern/global.d.ts:37:13 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.
37 declare let setTimeout: any;
~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:174:18
174 declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
~~~~~~~~~~
'setTimeout' was also declared here.
../../../../../node_modules/@types/node/globals.d.ts:175:19
175 declare namespace setTimeout {
~~~~~~~~~~
and here.
../../../../../node_modules/@types/node/globals.d.ts:169:13 - error TS2451: Cannot redeclare block-scoped variable 'console'.
169 declare var console: Console;
~~~~~~~
src/extern/global.d.ts:36:13
36 declare let console: any;
~~~~~~~
'console' was also declared here.
../../../../../node_modules/@types/node/globals.d.ts:174:18 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.
174 declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
~~~~~~~~~~
src/extern/global.d.ts:37:13
37 declare let setTimeout: any;
~~~~~~~~~~
'setTimeout' was also declared here.
../../../../../node_modules/@types/node/globals.d.ts:175:19 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.
175 declare namespace setTimeout {
~~~~~~~~~~
src/extern/global.d.ts:37:13
37 declare let setTimeout: any;
~~~~~~~~~~
'setTimeout' was also declared here.
Found 5 errors.
make: *** [Makefile:71: krohnkite.js] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error making: kwin-scripts-krohnkite-git
Does this occur when you try to build v.0.8
?
$ git checkout v0.8