I have an existing angular project, in which I need to add an ionic project so that I can use ionic serve
to run the ionic project and ng serve
to run the angular project.
I tried using ng add @ionic/angular
and after creating a project using ionic init
when I try ionic serve
this error is thrown [ng] An unhandled exception occurred: Project does not exist.[ERROR] ng has unexpectedly closed (exit code 127). The Ionic CLI will exit. Please check any output above for error details.
Also tried this it doesn't work https://stack247.wordpress.com/2019/03/11/integrate-ionic-in-existing-angular-project/ Creates a new project folder for ionic which is not my requirement.