'Apps' always builds Node app with cache node_modules despite changes to package.json
I am new to the Digital Ocean Apps platform and I am having an issue related to when the instance begins building my Node application. The issue is related to previously cached
node_modules during the build process. I have added a few modules but builds via DO do not reflect these module changes, as DO continues to use a cached version of
node_modules (as seen in the logs, I believe related to Docker and Buildpack?). The
package-lock.json is checked in, but I am unsure if this would resolve the issue or not.
How do I clear this cache to ensure the DO environment does not use cached assets?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×