I faced a problem that every time I change my code an error occured :
1) Uncaught (in promise): TypeError: Cannot read property 'call' of undefined => core.js
2)Cannot read property 'call' of undefined => module-loader.js
so i have to do "ionic serve" everytime i change the code to remove the error. so i waste lot of times. can anyone know what's the problem?
If you are running multiple ionic serve on same machine then this error can come.
Try close all CMD windows and then start new CMD in your project folder and then do ionic serve
Hope, deleting the node_modules from your project codebase and doing npm install again solves your problem. Keep Learning.
ctrl + c after yes after
ionic serve again
all will be fine it work for me
此错误通常是同时运行多个 ionic serve 的结果。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.