Question

Can't deploy Strapi

Posted September 2, 2021 115 views
DeploymentDigitalOcean App PlatformStrapi

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?

1 comment
  • DO Support cloned my repo and successfully deployed Strapi without any changes to my code. I, on the other hand, still cannot deploy Strapi on DO’s App Platform (build error) using the exact same code.

    Is anyone else having problems deploying Strapi on DO’s App Platform and/or have any thoughts RE fix?

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.

×
Submit an Answer
1 answer

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