Issue after upgrading to Ionic 4.1.1
See original GitHub issueBug Report
Ionic version: [x] 4.1.1
Current behavior:
ERROR in node_modules/@ionic/angular/node_modules/@ionic/core/dist/types/components.d.ts(5526,13): error TS2320: Interface 'HTMLIonLoadingControllerElement' cannot simultaneously extend types 'IonLoadingController' and 'IonLoadingController'.
[ng] Named property ''create'' of types 'IonLoadingController' and 'IonLoadingController' are not identical.
[ng] node_modules/@ionic/angular/node_modules/@ionic/core/dist/types/components.d.ts(5754,13): error TS2320: Interface 'HTMLIonSkeletonTextElement' cannot simultaneously extend types 'IonSkeletonText' and 'IonSkeletonText'.
[ng] Named property ''width'' of types 'IonSkeletonText' and 'IonSkeletonText' are not identical.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5076,5): error TS2717: Subsequent property declarations must have the same type. Property ''IonCheckbox'' must be of type 'IonCheckbox', but here has type 'IonCheckbox'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5100,5): error TS2717: Subsequent property declarations must have the same type. Property ''IonLoadingController'' must be of type 'IonLoadingController', but here has type 'IonLoadingController'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5137,5): error TS2717: Subsequent property declarations must have the same type. Property ''IonSelect'' must be of type 'IonSelect', but here has type 'IonSelect'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5138,5): error TS2717: Subsequent property declarations must have the same type. Property ''IonSkeletonText'' must be of type 'IonSkeletonText', but here has type 'IonSkeletonText'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5176,5): error TS2717: Subsequent property declarations must have the same type. Property ''ion-checkbox'' must be of type 'IonCheckboxAttributes', but here has type 'IonCheckboxAttributes'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5237,5): error TS2717: Subsequent property declarations must have the same type. Property ''ion-select'' must be of type 'IonSelectAttributes', but here has type 'IonSelectAttributes'.
[ng] node_modules/@ionic/core/dist/types/components.d.ts(5238,5): error TS2717: Subsequent property declarations must have the same type. Property ''ion-skeleton-text'' must be of type 'IonSkeletonTextAttributes', but here has type 'IonSkeletonTextAttributes'.
Steps to reproduce: Updated my application using
npm install @ionic/angular@latest --save
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.10.3 (/home/langstra/.nvm/versions/node/v11.5.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.1.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.3.5
@angular/cli : 7.3.5
@ionic/angular-toolkit : 1.2.3
System:
NodeJS : v11.5.0 (/home/langstra/.nvm/versions/node/v11.5.0/bin/node)
npm : 6.8.0
OS : Linux 4.15
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Issue after upgrading to Ionic 4.1.1 #17727 - GitHub
I had the same problem with @ionic/pwa-elements. That package had a dependency on @ionic/core@4.0.2. Upgrading both to the latest version solved ...
Read more >Error after update to nodeJS 4.1.1 - Ionic Forum
I am getting an error after updating node. 2015-09-24 16:52:15.107 Saje Gigs[658:143277] Resetting plugins due to page load.
Read more >Cannot update Ionic-CLI - node.js - Stack Overflow
I have three versions of NodeJS installed, that I switch between with NVM. I tried removing Ionic and Cordova from all three, updating...
Read more >Zoom SDK IONIC 3 - Meeting SDK - Zoom Developer Forum
I has upgrade the rxjs and rxjs-compat, but issue not fixed. Please give the solutions for zoom initialize issue. Please find the screen...
Read more >Cordova iOS 4.1.0
This release addresses issue CB-10530, which was an issue with your apps periodically freezing directly after starting.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @coffeymatt! We just released version
1.0.2
of@ionic/pwa-elements
to fix this, could you try updating and see if that fixes your problem?Anyone else that is still running into this, please provide the output above by running
npm ls @ionic/core --silent
. Thanks!I also encountered similar issues. To solve it delete
package-lock.json
andnode_modules
folder and runnpm i
. This should fix it. If not then repeat and also clean the cache.