question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ionic 4 RC-0 - ion-anchor is showing error

See original GitHub issue

Bug Report

Ionic version:

[x] 4.0.0.rc.0

Current behavior:

ion-anchor tag is showing parsing error in ionic v4 release candidate. But, When I import CUSTOM_ELEMENTS_SCHEMA in my signin module, it is working fine.

Expected behavior:

ion-anchor tag is work without adding any CUSTOM_ELEMENTS_SCHEMA in my signin module

Steps to reproduce:

Implemented ion-anchor tag in my signin page html. Below i have added my code.

Related code:

<ion-anchor color="primary" routerDirection="forward" href="/forget">Forget your password?</ion-anchor>

Error image

Other information:

Ionic info:

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SalehG91commented, Feb 10, 2019

Had the same issue, i dont think its provided by Ionic anymore. Just use a regular a tag. Its confusing because it still exists in the documentation.

1reaction
Manivannandurairajcommented, Jan 3, 2019

But Before release candidate version it is working fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic 4 RC-0 - ion-anchor is showing error #16889 - GitHub
Current behavior: ion-anchor tag is showing parsing error in ionic v4 release candidate. But, When I import CUSTOM_ELEMENTS_SCHEMA in my signin ...
Read more >
Ionic button showing 'ion-button' is not a known element
I think the solution is importing Ionic module in the respective module imports import { IonicModule } from '@ionic/angular'; <--add this ...
Read more >
'ion-anchor' is not a known element: - Ionic Framework
I'm using Ionic 4. I have defined an anchor tag ... </ion-anchor> But this is giving an error 'ion-anchor' is not a known...
Read more >
Announcing Ionic 6 - Ionic Blog
Today I am excited to announce the release of Ionic 6! This release adds improved desktop support, overhauled components, iOS and Android ...
Read more >
10 Common Ionic Problems & Error Messages (And How to ...
Perhaps one day we get this.. 4. Cannot find control with name: 'myName'. If you are using reactive forms there are all kind...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found