Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds fail on every platform. #996

Open
Gamebuster19901 opened this issue Jan 20, 2025 · 1 comment
Open

Builds fail on every platform. #996

Gamebuster19901 opened this issue Jan 20, 2025 · 1 comment
Labels
bug There's a bug in LiveSplit One. CI Affects the Continuous Integration.

Comments

@Gamebuster19901
Copy link

Link to github build results: https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214

My fork has no code changes. Just minor changes so github actions can run on my fork.

Web, Windows, and MacOS builds fail when building the frontend:

Run npm run publish
  npm run publish
  shell: /usr/bin/bash -e {0}

> [email protected] publish
> webpack --mode production

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
assets by status 7.55 MiB [cached] 81 assets
orphan modules 376 KiB [orphan] [2](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:2)46 modules
runtime modules 8.[3](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:3)4 KiB 13 modules
javascript modules 1.69 MiB
  modules by path ./node_modules/ 1020 KiB 239 modules
  modules by path ./src/ 712 KiB 67 modules
asset modules 210 bytes (javascript) 2.[4](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:5)7 MiB (asset)
  modules by path ./src/css/ 126 bytes (javascript) 220 KiB (asset) 3 modules
  ./src/livesplit-core/livesplit_core_bg.wasm 42 bytes (javascript) 2.2[5](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:6) MiB (asset) [built] [code generated]
  ./src/assets/icon.svg 42 bytes (javascript) 1.34 KiB (asset) [built] [code generated]
json modules 30 KiB
  ./node_modules/entities/maps/xml.json [6](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:7)2 bytes [built] [code generated]
  ./node_modules/entities/maps/entities.json 28.4 KiB [built] [code generated]
  ./node_modules/entities/maps/legacy.json 1.24 KiB [built] [code generated]
  ./node_modules/entities/maps/decode.json 308 bytes [built] [code generated]

LOG from GenerateSW
<i> The service worker at service-worker.js will precache
<i>         9 URLs, totaling 3.43 MB.

ERROR in /home/runner/work/LiveSplitOne/LiveSplitOne/src/livesplit-core/index.ts
./src/livesplit-core/index.ts [7](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:8)476:[8](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:9)-14
[tsl] ERROR in /home/runner/work/LiveSplitOne/LiveSplitOne/src/livesplit-core/index.ts(7476,[9](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:10))
      TS2322: Type 'bigint' is not assignable to type 'number'.
ts-loader-default_9aae2f80b2c2615f
 @ ./src/ui/LiveSplit.tsx 48:0-1[10](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:11) 122:29-38 126:31-38 129:35-46 136:62-76 168:25-41 173:21-41 183:25-40 406:23-43 410:30-43 442:30-46 508:20-27 509:24-35 555:21-37 559:21-56 582:58-72 651:17-30 656:17-31 659:17-35 662:17-34 666:17-30 669:17-29 672:17-31 676:17-28 681:17-45 684:17-40 687:17-42 690:17-35 691:17-42 692:17-34 693:17-37 694:17-38 695:17-38 696:17-40
 @ ./src/indexDelayed.ts [14](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:15):0-43 17:0-40
 @ ./src/index.tsx 26:51-75

webpack 5.91.0 compiled with 1 error in [15](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120097#step:14:16)353 ms
Error: Process completed with exit code 1.

Linux builds fail because two packages don't exist:

Run sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:6 https://packages.microsoft.com/repos/azure-cli noble InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease
Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
Get:3 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:8 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [17.2 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [775 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [974 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [309 kB]
Get:[13](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:14) http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:[14](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:15) http://azure.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:[15](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:16) http://azure.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:[16](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:17) http://azure.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [11.7 kB]
Get:[17](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:18) http://azure.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:[18](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:19) http://azure.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:19 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Components [7232 B]
Get:[20](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:21) http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Components [52.0 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Components [[21](https://github.com/Gamebuster19901/LiveSplitOne/actions/runs/12859110214/job/35849120490#step:11:22)2 B]
Get:22 http://azure.archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Fetched 2682 kB in 1s (4702 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
73 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libwebkit2gtk-4.0-dev
E: Couldn't find any package by glob 'libwebkit2gtk-4.0-dev'
Error: Process completed with exit code 100.

On my personal linux machine, I also get the same TS2322: Type 'bigint' is not assignable to type 'number'. error as seen on windows, mac, and web.

@wooferzfg wooferzfg added bug There's a bug in LiveSplit One. CI Affects the Continuous Integration. labels Jan 20, 2025
@Gamebuster19901
Copy link
Author

Gamebuster19901 commented Jan 20, 2025

Updating livesplit core fixed mac and windows build issues.

However web (for me) fails its tests, and linux suffers from tauri-apps/tauri#9662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There's a bug in LiveSplit One. CI Affects the Continuous Integration.
Projects
None yet
Development

No branches or pull requests

2 participants