Corsza

“No component error on DigitalOcean App platform

Recently one of our team was trying out DigitalOcean’s app platform to push a few scripts to a server to help us for our day-to-day work.

It was just a basic Python app using Flask but when they went through the website to push the app live, a random red and white alert box popped up with just the phrase “no component” – nothing else.

A bit of searching and ChatGPTing didn’t really help so we thought we would do our bit and put this here for anyone looking. Where you need to go is this Digital Ocean page: https://docs.digitalocean.com/products/app-platform/reference/buildpacks/

This will tell you exactly what you need for every language and build process. For us, it was Python and flask and the only thing we forgot to do was include a requirements.txt file.

Then everything was all good!

Happy coding!