@IshanMahajan wrote:
I’m getting this error when I make a new function after generating a new page
HomePage.html:68 ERROR TypeError: _co.goToSuggestion is not a function at Object.eval [as handleEvent] (HomePage.html:68) at handleEvent (core.js:13254) at callWithDebugContext (core.js:14739) at Object.debugHandleEvent [as handleEvent] (core.js:14326) at dispatchEvent (core.js:9703) at core.js:10317 at HTMLButtonElement.<anonymous> (platform-browser.js:2614) at t.invokeTask (polyfills.js:3) at Object.onInvokeTask (core.js:4617) at t.invokeTask (polyfills.js:3)
But the error is gone if I stop the present ionic serve and serve again.
I don’t know what the problem is but It is quiet frustrating.Here are some details about the version I’m using:
Ishan:food apple$ ionic -v 3.19.0 Ishan:food apple$ node -v v8.9.4 Ishan:food apple$ cordova -v 8.0.0
Posts: 2
Participants: 2