Ionic project in parent folder affects my build


I have a folder /PARENT_FOLDER that is an IONIC project. Then, I also have another ionic project at /PARENT_FOLDER/foo/sub_folder.

When I use ionic prepare android' or 'ionic platform add androidor other ionic commands from /PARENT_FOLDER/foo/sub_folder, they are run over /PARENT_FOLDER.
It’s as if somehow, the ionic command was able to traverse the directories up to the /PARENT_FOLDER even though my working directory is /PARENT_FOLDER/foo/sub_folder.

Any ideas/pointers to workaround or solve this issue?

Thanks in advance,