i am running 3 nodejs based applications in one single machine. one for admin website, another for web api, another ionic3 app. All are written in different node npm versions. Hence I cant install ionic globally with -g option which is recommended in official tutorial.
for that reason i use nvm and install older versions locally for admin website and api, both build and run fine.
but ionic commands give build error. first i used to get “ionic - command not found”, then i tried using $(npm bin)/ionic --version, i started getting responses. But commands for building android apk etc fail. in another machine i have ionic installed globally, those commands work fine and i am able to generate apk.
in summary, how to install ionic locally and execute ios and android builds locally ?