I\'m wondering if we should be tracking node_modules in our repo or doing an npm install when checking out the code?
I would like to offer a middle of the road alternative.
node_modules into git.package-lock.json file to nail down your dependency versions.In the rare event that you cannot access NPM (or other registries you use) or a specific package in NPM, you have a copy of node_modules and can carry on working until you restore access.