Question

Can't deploy Strapi

I’ve been trying to deploy Strapi on DigitalOcean’s App platform (not Droplet) for about 72 hours. I keep getting the following error:

  • Build Error: Non-Zero Exit

From the build logs…

  • warning url-loader@1.1.2: Invalid bin field for “url-loader”.
  • unable to invoke layer creator

I’ve read and followed Strapi’s dev docs for DO APP Platform deployment and watched their YouTube video that covers the same (https://www.youtube.com/watch?v=ho7nLkXmaKE).

I’ve also read the Troubleshooting docs.

Strapi runs fine locally. The DO settings meet the minimum requirements. yarn.lock isn’t listed in my .env file. And the database is running and connected.

Any thoughts RE what I’m doing wrong?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @turtlefeet,

I understand you are facing issues while deploying Strapi on DigitalOcean App Platform. There could be a number of reasons causing the build to fail.

There’s an article on the strapi forum that covers the first mentioned issue.

If you still face issues, could you please raise a ticket with our support team so that we can quickly review your app and have the issue resolved asap.

Cheers, Taha Fatima