
This error appears when you try to navigate to a page that’s not existing. Uncaught (in promise): invalid link: MyPage The property of your object is not the problem but the object itself you are trying to access a property of an element that’s undefined (or in other cases null).Ĭheck where you initialise your object or use the elvis operator to access properties safely without breaking your apps code: // ? operator prevents crashing here!
#IONIC RUN LIVERELOAD NETWORK ERROR VIRTUALBOX CODE#
This error comes up when you have code like this: // Inside your class

Cannot read property ‘xyz’ of undefinedĪ very classic error and one that can be easily tracked down although it’s not immediately clear where to look for the solution. In this article I’ll outline 10 common error messages and problems that can happen quite often and how each of them can be easily solved within your Ionic app! 1. The problem most of the time is that your app will run fine and the build is successful - the problems only occur at runtime and therefore you are completely dependent on the hin inside the error message and understanding those messages is an essential part of being a good developer. But especially for beginners these messages can be challenging as the meaning of Ionic Problems is not always clear. Some appear more frequent, others appear only on very special occasions. We have all seen many error messages while developing our Ionic apps.
