Deploy to Strapi Cloud fails with multiple errors

Hello, I’m new to Strapi and trying to set up a simple test deployment using Strapi’s own hosting.

When I go to deploy the project the build is failing on the server with many errors mostly about Python.

I’ve tried rolling back my local Node version to match what’s on the server, but I’m still getting the same error.

Thanks for your help!

This topic has been created from a Discord post (1296886441879801946) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

UPDATE: If I deploy from my Git repo instead of my local machine it works! I’m assuming this is because the build is triggered on the server rather than trying to deploy something built on my machine where node versions might be different etc.

npm run deploy does not work. Maybe the docs should be updated to suggest deploying from the repo as a more reliable/repeatable way of deploying.