We have a .NET/Angular 4 project that builds and deploys from BitBucket to our AWS IIs instance.
We don't want to track the node_modules folder and push them to BitBucket or from the Bamboo build instance to the deployment server for obvious reasons.
What we'd like to do is run "npm install" post deployment on the webserver, and let npm do it's package managing thing, vs. pushing the node_modules folder from BitBucket to the Bamboo build instance to the webserver.
Is this possible?
Use SSH task to run 'npm install' command as part of your deployment steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.