ionic start will create a .gitignore that ignores node_modules. Unfortunately, shelljs is a requirement for Cordova, so if I add the output of ionic start to my repo and then clone it, it gets broken.
How about adding “shellsjs” to the “package.json” and then using
It will still make a clean git clone fail until npm install is executed. Check out this article:
Very interesting link. I’ve been of the camp “I don’t want node_modules” in my source tree. Now, I realize I was wrong.
I will discuss this with devs. Thanks for bringing it up.