Ionic state restore and installing dependencies


Hey guys,

I am trying to get a smooth install for a user pulling our project. I want them to be able to basically git clone and then ionic state restore. All is working fine, when trying to build, i get a problem because a hook im using is using lodash, plist and elementtree node dependencies. These dependencies are listed on package.json, but for some reason ionic state restore does not install them.
Is there any command on the ionic cli that will both install node dependencies as well as installing cordova plugins and platforms? Should i just separate this in two actions (sudo npm install and ionic state restore)? I feel that Ionic should have a more straight forward way to do this.



I’m struggling too with this issue. So far, I know I have to run the two commands:
npm install
ionic state restore

No better way in sight.