Report this

What is the reason for this report?

How to prevent npm install on App

Posted on November 2, 2020

It seems that the app platform always runs the npm install command when it’s building a component. Since we compile our assets on our development platform the npm install command is unnecessary. When the package.json file is removed it doesn’t run this command, but I want to keep this file in our repo.

Is there any reason this command is automatically executed. And is there any way to prevent this?

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.