Cannot read property 'call' of undefined when making a change

Viewed 2307
  • Ionic Framework: 3.4.2
  • Ionic Native: ^2.9.0
  • Ionic App Scripts: 2.1.3
  • Angular Core: 4.1.3
  • Angular Compiler CLI: 4.1.3
  • Node: 6.11.0
  • OS Platform: Windows 10
  • Navigator Platform: Win32
  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

everything was working just fine until i install ionic-native, every time i make a change it shows me this error.

Runtime Error Cannot read property 'call' of undefined

so i need to re-run ionic serve everytime i make a change

2 Answers

In my experience, this error is usually the result of running multiple "ionic server" on the same machine. Double check you're not running in another terminal window.

Related