Open rushabhOrdex opened 3 years ago
my system configuration: Ionic:
Ionic CLI : 6.6.0 (/home/azureuser/.nvm/versions/node/v10.15.3/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.6.8 @angular-devkit/build-angular : 0.803.29 @angular-devkit/schematics : 10.0.8 @angular/cli : 8.3.29 @ionic/angular-toolkit : 2.3.3
Capacitor:
Capacitor CLI : 2.0.1 @capacitor/core : 2.0.1
Utility:
cordova-res : not installed native-run : not installed
System:
NodeJS : v10.15.3 (/home/azureuser/.nvm/versions/node/v10.15.3/bin/node) npm : 6.4.1 OS : Linux 5.4
Error I am facing while serving project or making build. ionic serve
ng.cmd run app:serve --host=localhost --port=8100 [ng] i 「wds」: Project is running at http://localhost:8100/webpack-dev-server/ [ng] i 「wds」: webpack output is served from /web [ng] i 「wds」: 404s will fallback to /web/index.html [ng] chunk {main} main.js, main.js.map (main) 2.02 kB [initial] [rendered] [ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 154 kB [initial] [rendered] [ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered] [ng] chunk {scripts} scripts.js, scripts.js.map (scripts) 540 kB [entry] [rendered] [ng] chunk {styles} styles.js, styles.js.map (styles) 1.37 MB [initial] [rendered] [ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 346 kB [initial] [rendered] [ng] Date: 2021-05-31T09:05:31.561Z - Hash: 7ecd02e366a1e943d61c - Time: 7359ms [ng] [ng] ERROR in node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/core-plugins.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { Plugin } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/core-plugins.d.ts:1:29 - error TS1005: ';' expected. [ng] 1 import type { Plugin } from './definitions'; [ng] ~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginRegistry } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:1:37 - error TS1005: ';' expected. [ng] 1 import type { PluginRegistry } from './legacy/legacy-definitions'; [ng] ~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:2:41 - error TS1005: ';' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/global.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { WebPlugin } from './web-plugin'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/global.d.ts:1:32 - error TS1005: ';' expected. [ng] 1 import type { WebPlugin } from './web-plugin'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:1 - error TS1128: Declaration or statement expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:13 - error TS1005: ';' expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:155 - error TS1109: Expression expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:162 - error TS1005: ';' expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:1 - error TS1128: Declaration or statement expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:13 - error TS1005: ';' expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:49 - error TS1005: ';' expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:1 - error TS1128: Declaration or statement expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:13 - error TS1005: ';' expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:93 - error TS1109: Expression expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:100 - error TS1005: ';' expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginImplementations } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:1:44 - error TS1005: ';' expected. [ng] 1 import type { PluginImplementations } from './definitions'; [ng] ~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { PluginHeader } from './definitions-internal'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:2:35 - error TS1005: ';' expected. [ng] 2 import type { PluginHeader } from './definitions-internal'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/util.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { WindowCapacitor } from './definitions-internal'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/util.d.ts:1:38 - error TS1005: ';' expected. [ng] 1 import type { WindowCapacitor } from './definitions-internal'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginListenerHandle, Plugin } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:1:51 - error TS1005: ';' expected. [ng] 1 import type { PluginListenerHandle, Plugin } from './definitions'; [ng] ~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:2:41 - error TS1005: ';' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~~~~~~~~ [ng]
ng.cmd run app:serve --host=localhost --port=8100 [ng] i 「wds」: Project is running at http://localhost:8100/webpack-dev-server/ [ng] i 「wds」: webpack output is served from /web [ng] i 「wds」: 404s will fallback to /web/index.html [ng] chunk {main} main.js, main.js.map (main) 2.02 kB [initial] [rendered] [ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 154 kB [initial] [rendered] [ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered] [ng] chunk {scripts} scripts.js, scripts.js.map (scripts) 540 kB [entry] [rendered] [ng] chunk {styles} styles.js, styles.js.map (styles) 1.37 MB [initial] [rendered] [ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 346 kB [initial] [rendered] [ng] Date: 2021-05-31T09:05:31.561Z - Hash: 7ecd02e366a1e943d61c - Time: 7359ms [ng] [ng] ERROR in node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/core-plugins.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { Plugin } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/core-plugins.d.ts:1:29 - error TS1005: ';' expected. [ng] 1 import type { Plugin } from './definitions'; [ng] ~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginRegistry } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:1:37 - error TS1005: ';' expected. [ng] 1 import type { PluginRegistry } from './legacy/legacy-definitions'; [ng] ~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/definitions.d.ts:2:41 - error TS1005: ';' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/global.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { WebPlugin } from './web-plugin'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/global.d.ts:1:32 - error TS1005: ';' expected. [ng] 1 import type { WebPlugin } from './web-plugin'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:1 - error TS1128: Declaration or statement expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:13 - error TS1005: ';' expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:155 - error TS1109: Expression expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:1:162 - error TS1005: ';' expected. [ng] 1 export type { CapacitorGlobal, PermissionState, Plugin, PluginCallback, PluginImplementations, PluginListenerHandle, PluginResultData, PluginResultError, } from './definitions'; [ng]
[ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:1 - error TS1128: Declaration or statement expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:13 - error TS1005: ';' expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:6:49 - error TS1005: ';' expected. [ng] 6 export type { WebViewPath, WebViewPlugin } from './core-plugins'; [ng] ~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:1 - error TS1128: Declaration or statement expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:13 - error TS1005: ';' expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:93 - error TS1109: Expression expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/index.d.ts:9:100 - error TS1005: ';' expected. [ng] 9 export type { CallbackID, CancellableCallback, ISODateString, PluginConfig, PluginRegistry, } from './legacy/legacy-definitions'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginImplementations } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:1:44 - error TS1005: ';' expected. [ng] 1 import type { PluginImplementations } from './definitions'; [ng] ~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { PluginHeader } from './definitions-internal'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/platforms.d.ts:2:35 - error TS1005: ';' expected. [ng] 2 import type { PluginHeader } from './definitions-internal'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/util.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { WindowCapacitor } from './definitions-internal'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/util.d.ts:1:38 - error TS1005: ';' expected. [ng] 1 import type { WindowCapacitor } from './definitions-internal'; [ng] ~~~~~~~~~~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type { PluginListenerHandle, Plugin } from './definitions'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:1:51 - error TS1005: ';' expected. [ng] 1 import type { PluginListenerHandle, Plugin } from './definitions'; [ng] ~~~~~~~~~~~~~~~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:2:13 - error TS1005: '=' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~ [ng] node_modules/@codetrix-studio/capacitor-google-auth/node_modules/@capacitor/core/types/web-plugin.d.ts:2:41 - error TS1005: ';' expected. [ng] 2 import type { CapacitorException } from './util'; [ng] ~~~~~~~~ [ng]
[INFO] Development server running!
Local: http://localhost:8100 Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
[ng] i 「wdm」: Failed to compile.
Same problem, it seems that the plugin is no longer compatible with Capacitor 2.x
my system configuration: Ionic:
Ionic CLI : 6.6.0 (/home/azureuser/.nvm/versions/node/v10.15.3/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.6.8 @angular-devkit/build-angular : 0.803.29 @angular-devkit/schematics : 10.0.8 @angular/cli : 8.3.29 @ionic/angular-toolkit : 2.3.3
Capacitor:
Capacitor CLI : 2.0.1 @capacitor/core : 2.0.1
Utility:
cordova-res : not installed native-run : not installed
System:
NodeJS : v10.15.3 (/home/azureuser/.nvm/versions/node/v10.15.3/bin/node) npm : 6.4.1 OS : Linux 5.4
Error I am facing while serving project or making build. ionic serve
[INFO] Development server running!
[INFO] Browser window opened to http://localhost:8100!
[ng] i 「wdm」: Failed to compile.