DroidHeaven DroidHeaven - 1 year ago 76
Git Question

Ionic/Cordova - Why are node_modules ignored while committing to git?

First of all, pardon my ignorance of ionic/cordova framework.

directory is generated by
ionic start
command. If someone clones my repo hosted on
, they will be devoid of
directory since they haven't used
ionic start
command and git ignored it. Wouldn't it be causing any issues?

Answer Source

Because libraries in node_modules directory to be saved in packege.json and they have large size, too many files. So, when you commited to git, they were ignored.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download