I would like to contribute but it seems that some of the versions in the lock file and Docker build files are out of date.
Initially I was able to get past a python3.8-dev install issue by changing ubuntu:16.04 to ubuntu:20.04 as the 20.04 distribution uses 3.8 natively.
The next issue I now run into is a typscript error
$ node_modules/@angular/cli/bin/ng build
...
Date: 2022-08-30T06:33:15.861Z
Hash: 52d25787055ef888be9e
Time: 10442ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 304 kB {vendor} [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 234 kB {inline} [initial] [rendered]
chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 180 kB {inline} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 221 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.01 MB [initial] [rendered]
ERROR in /tank2/venvs/seedsync/src/angular/node_modules/@types/eventsource/dom-monkeypatch.d.ts (64,3): Subsequent property declarations must have the same type. Property 'data' must be of type 'any', but here has type 'T'.
ERROR in /tank2/venvs/seedsync/src/angular/node_modules/@types/eventsource/dom-monkeypatch.d.ts (74,12): Subsequent property declarations must have the same type. Property 'data' must be of type 'any', but here has type 'T'.
ERROR in /tank2/venvs/seedsync/src/angular/node_modules/@types/eventsource/dom-monkeypatch.d.ts (85,13): Subsequent variable declarations must have the same type. Variable 'MessageEvent' must be of type '{ new (type: string, eventInitDict?: MessageEventInit<any>): MessageEvent<any>; prototype: MessageEvent<any>; }', but here has type '{ new <T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>; prototype: MessageEvent<any>; }'.
And my typescript-foo is not really up for knowing how to deal with it.
Can you review the current build setup and update it so it builds?
I would like to contribute but it seems that some of the versions in the lock file and Docker build files are out of date.
Initially I was able to get past a
python3.8-dev
install issue by changingubuntu:16.04
toubuntu:20.04
as the 20.04 distribution uses 3.8 natively.The next issue I now run into is a typscript error
And my typescript-foo is not really up for knowing how to deal with it.
Can you review the current build setup and update it so it builds?