Developing a cross-platform app using Ionic Cordova plugin sometimes can be a pain. When you encounter a problem where an ionic app does not compile or when compiling it gets stuck on [Transpile Started] and it never compiles. The problem is mainly with the appscript.
Solution: Update Appscript using this command, sudo npm install [email protected]
after installation, just do npm install and after that, follow whatever error it gives you.
In this case, the error it through after appscript installation was: Property popTo in type NavControllerBase is not assigned, so what I did was to go to node_modules/ionic-angular/nav and removed the argument from popTo() function. Problem solved.
Edit this Article