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

Migrate Capacitor to 5 #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

vovagorodok
Copy link

@vovagorodok vovagorodok commented Jun 3, 2024

From August 31, 2023 Google Play Console accepts only min SDK 33: https://developer.android.com/google/play/requirements/target-sdk

Ported by instruction: https://capacitorjs.com/docs/updating/plugins/5-0

Still some error exist:

node_modules/@types/node/crypto.d.ts:3569:17 - error TS1110: Type expected.

3569     type UUID = `${string}-${string}-${string}-${string}-${string}`;
                     ~~~

node_modules/@types/node/test.d.ts:950:34 - error TS1005: '?' expected.

950             : F extends abstract new(...args: any) => infer T ? T
                                     ~~~

node_modules/@types/node/test.d.ts:950:63 - error TS1005: ':' expected.

950             : F extends abstract new(...args: any) => infer T ? T
                                                                  ~

node_modules/@types/node/test.d.ts:951:13 - error TS1005: ',' expected.

951             : unknown,
                ~

node_modules/@types/node/test.d.ts:953:34 - error TS1005: '?' expected.

953             : F extends abstract new(...args: infer Y) => any ? Y
                                     ~~~

node_modules/@types/node/test.d.ts:953:63 - error TS1005: ':' expected.

953             : F extends abstract new(...args: infer Y) => any ? Y
                                                                  ~

node_modules/@types/node/test.d.ts:954:13 - error TS1005: ',' expected.

954             : unknown[],
                ~

node_modules/@types/node/test.d.ts:954:22 - error TS1005: ',' expected.

954             : unknown[],
                         ~

node_modules/@types/node/test.d.ts:955:5 - error TS1109: Expression expected.

955     > {
        ~

node_modules/@types/node/test.d.ts:959:24 - error TS1005: ',' expected.

959         arguments: Args;
                           ~

node_modules/@types/node/test.d.ts:963:35 - error TS1005: ',' expected.

963         error: unknown | undefined;
                                      ~

node_modules/@types/node/test.d.ts:969:39 - error TS1005: ',' expected.

969         result: ReturnType | undefined;
                                          ~

node_modules/@types/node/test.d.ts:973:21 - error TS1005: ',' expected.

973         stack: Error;
                        ~

node_modules/@types/node/test.d.ts:978:19 - error TS1005: ',' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                      ~~~~~~~

node_modules/@types/node/test.d.ts:978:27 - error TS1005: ':' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                              ~~~~~~~~

node_modules/@types/node/test.d.ts:978:36 - error TS1005: ',' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                                       ~~~

node_modules/@types/node/test.d.ts:978:54 - error TS1005: '{' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                         ~~

node_modules/@types/node/test.d.ts:978:63 - error TS1005: ',' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                                  ~

node_modules/@types/node/test.d.ts:978:76 - error TS1005: ',' expected.

978         target: F extends abstract new(...args: any) => any ? F : undefined;
                                                                               ~

node_modules/@types/node/test.d.ts:982:22 - error TS1005: ',' expected.

982         this: unknown;
                         ~


Found 20 errors.

npm ERR! code 2
npm ERR! path /home/tsiselsk/Projects/private/blichess/capacitor-stockfish-variants
npm ERR! command failed
npm ERR! command sh -c npm run build

@vovagorodok
Copy link
Author

Compilation fixes by using newer version of typescript

@vovagorodok vovagorodok marked this pull request as ready for review June 5, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant