This might seem like a silly question, however I have googled around and the closest to an answer I can find is here: https://github.com/driftyco/ionic/issues/2361. However, this doesn’t really answer my question properly.
So I have an existing ionic project which is commit and pushed to a Git repository. Now on another computer, I have clone this Git repository. If I run
ionic serve is runs fine.
However, if I run
ionic run android I get this:
No platforms added to this project. Please use `cordova platform add <platform>`.
I understand this is because the platforms are not commited to Git. My question is: is there a way to initialize a project from git so it installs all dependencies etc…?