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:
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: want
- The Difference between $(document).ready, window.onload and $(window).load(function (){})
- [Solved] Selenium Error: ElementClickInterceptedException
- [Solved] Ionic Error: Could not find gradle wrapper within Android SDK.
- Ionic reported an error when creating a new project — it has been solved
- [Solved] Ionic error: Error Initializing app: There was an error with the spawned command: npminstall
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- [Solved] appium Error: Message: Cannot set the element to ‘XXXX’. Did you interact with the correct element?
- ”Cannot read property ‘addEventListener’ of null“
- Springboot 2.4 package error, missing web.xml