I want to build my nextjs app using npm install --legacy-peer-deps. How can I do that using App Platform
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!
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.
Did you find the answer, I am running into same issue. In Netify youu can use a env var called NPM_FLAGS and you set to --legacy-peer-deps or --force but that method did not work for DO !
I am guessing we may need to do it from package.json
here’s what i am working with: