Report this

What is the reason for this report?

'Apps' always builds Node app with cache node_modules despite changes to package.json

Posted on December 20, 2020

Hello -

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.