I'm using the aws-sdk module, which has a .gitignore file that ignores its own node_modules directories, breaking my Heroku deployment.
Is there a proper way to deal with this sort of situation? When I heroku bash I see that the dependencies are missing from aws-sdk it has no node_modules directory.
node_modulesas part of your git project?aws-sdkmodule. Seems strange that such a popular module wouldn't work out of the box on Heroku though...node_modules(npm shrinkwrapis just as good, and is much smaller).