Interesting. Normally Ionic CLI (and Cordova CLI that is used in the background) takes care of all this automatically.
Have you tried it with a newly created project (ionic start blank blank
) to see if this is a problem with your system or "just" your project yet?