Common error reports and solutions of ionic 3

I have been developing with ionic 3 for some time. Now I’d like to summarize the errors encountered in the development and the solutions:

ERROR DOMException: Failed to execute ‘setAttribute’ on ‘Element’: ‘)’ is not a valid attribute name.

<button block ion-button class="m-0 buttom-btn" (click)="returnDeposit()" )>refund</button>, the error message suggests ')' is not a legal attribute, can't execute setAttribute method on the dom element, this is to check whether the html has more than write ')'

ERROR DOMException: Failed to execute ‘setAttribute’ on ‘Element’: ‘)’ is not a valid attribute name.

the same to above

Native: tried calling plugins, but the plugin is not installed.or Uncaught (in promise)): plugin_not_installed

I used some methods in the app.component.ts file (from some native plugins) to call outside of platform.ready(), write these method calls inside platform.ready() and you're good to go!

EXCEPTION: No provider for NavController

https://github.com/driftyco/ionic/issues/5543

 

Similar Posts: