By Tim -
The app platform runs a NPM Install for me, however it seems to install all dependencies in package.json:
I am curious how I can control which package are and aren’t installed, due to the fact that it also installs optionalDependencies the proces often runs out of memory and takes a lot longer.
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!
👋🏼 @SwimmingCow
App Platform runs npm ci (or npm install depending on the NPM version specified in package.json). This does not install devDependencies or optionalDependencies so I’m curious as to how that’s happening. Can you share your package.json file? Are you setting any environment variables that could affect this?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.