Closed KebabLord closed 4 years ago
did
yarn install
tcs // optional
yarn run build
yarn run package:linux
the funny part is typescript compiler throws errors on even fresh repository
owo@junicchi~/Github/auryo:
λ tsc
node_modules/lastfm/typings/index.d.ts:9:44 - error TS1016: A required parameter cannot follow an optional parameter.
9 public request(method?: LastfmMethods, params: any): any;
~~~~~~
src/renderer/app/components/player/components/PlayerProgress/PlayerProgress.tsx:23:18 - error TS2345: Argument of type 'false' is not assignable to parameter of type 'SetStateAction<undefined>'.
23 setIsSeeking(false);
~~~~~
src/renderer/app/components/player/components/PlayerProgress/PlayerProgress.tsx:30:17 - error TS2345: Argument of type 'number' is not assignable to parameter of type 'SetStateAction<undefined>'.
30 setNextTime(to);
~~
src/renderer/app/components/player/components/PlayerProgress/PlayerProgress.tsx:31:18 - error TS2345: Argument of type 'true' is not assignable to parameter of type 'SetStateAction<undefined>'.
31 setIsSeeking(true);
~~~~
src/renderer/app/components/player/components/PlayerProgress/PlayerProgress.tsx:40:22 - error TS2345: Argument of type 'true' is not assignable to parameter of type 'SetStateAction<undefined>'.
40 setIsSeeking(true);
~~~~
src/renderer/app/components/player/components/PlayerProgress/PlayerProgress.tsx:60:53 - error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
60 <div className={styles.time}>{getReadableTime(isSeeking ? nextTime : currentTime, false, true)}</div>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 6 errors.
You can read the development contributing guide to get started with Auryo. https://github.com/Superjo149/auryo/blob/master/.github/DEVELOPMENT.md
Instead of installing from preinstalled packages, i want to install auryo from the source that i made changes on. How to build the app from source? using debian 10