Question

How to force npm install on my Apps builds react app

We are a startup building fast for an MVP launch. I having trouble building the front-end react app component in Digitalocean Apps. This is a packages dependencies issue, yet I’m am able to npm install locally on my linux laptop.

Is there a way to ignore and/or force an incompatible module and install and build anyway?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I have the same issue. Did u find a solution?

Hi @MassiveAquaShip,

I’ve added the relevant tag so that DigitalOcean’s App Product team can reach you and give a specific answer.

Additionally, I’ve searched in our community about similar questions, here is what I found that maybe of some interest while you get another asnwer:

https://www.digitalocean.com/community/questions/npm-prepare-on-do-app-platform

https://www.digitalocean.com/community/questions/app-platform-npm-install-logic

Regards, KFSys