Astro site not building | error Command failed with exit code 1

Netlify is not a mystery-box doing anything special or different during site builds. It’s running the code you’re providing it. There are however platform differences in various cases, primarily Netlify uses Ubuntu while most users don’t. Some libraries might behave differently on different Operating Systems.

For example, here’s an old thread showing a different issue with Astro only on Ubuntu:

2 Likes