v4-beta.18 - Error: Template parse errors: 'ion-tab' is not a known element
See original GitHub issueBug Report
Ionic version:
[x] 4.x
Current behavior:
Update from beta.17 to beta.18
Expected behavior:
Site would work
Steps to reproduce:
Related code:
A sample application via GitHub
Ref: https://github.com/peterennis/aetabs/commit/ed7286315edc575b5bfa7691c710868903ee1b6e
Current site running beta.17 : https://aetabs.adaept.com
Result running beta.18
Other information:
I am using tabs with sidemenu. There is no official sample. I read breaking changes, tried the suggestions, but could not get it to work.
@manucorporat Possibly related: https://github.com/ionic-team/ionic/issues/16343
Ionic info:
C:\ae\adaept.com\aetabs>ionic info
Ionic:
ionic (Ionic CLI) : 4.5.0 (C:\Users\peter\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.18
@angular-devkit/build-angular : 0.11.3
@angular-devkit/schematics : 7.1.3
@angular/cli : 7.1.3
@ionic/angular-toolkit : 1.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (2 plugins total)
System:
NodeJS : v10.14.1 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Template parse errors: 'ion-tab' is not a known element · Issue ...
Other information: I am using tabs with sidemenu. There is no official sample. I read breaking changes, tried the suggestions, but could not...
Read more >Template parse errors: 'ion-col' is not a known element
I try to build ionic 4 apps. However, the new error keeps coming after trying to fix the previous one ...
Read more >Template parse errors: 'ion-tab-button' is not a known element
Says there in the error message. There's no such thing as ion-tab-button in Ionic V3. It's an Ionic V4 component. Ionic Framework ...
Read more >'ion-tab' is an Angular component, then verify that it is part of ...
and now i have error: compiler.js:2427 Uncaught Error: Template parse errors: 'ion-tab' is not a known element: 1. If 'ion-tab' is an Angular...
Read more >Template parse errors: : 'xxxComponent' is not a known element
Solved Angular Uncaught Error : Template parse errors : : 'xxxComponent' is not a known element : 3.4K views · 1 year ago...
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 Free
Top 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
Thanks for your issue!
ion-tab
is not a known element in beta.18 / beta.19, that is correct. Read the breaking changes again -> https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#angular-tabsThere you see that you have to remove the
ion-tab
. I close this here but you can still comment here if you don’t get it work. Example:Or see usage in Angular -> https://github.com/ionic-team/ionic/tree/master/core/src/components/tabs#angular
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.