Deploy did not succeed: Deploy directory 'dist' does not exist

I’m following the medusajs guides for deploying on netlify but I receive the error of “Deploy did not succeed: Deploy directory ‘dist’ does not exist” during the build/deploy process.

I’ve tried using the simplified quick deploy buttons available on medusajs for netlify deployment and making the repo myself. Both result in an error. This happens with the admin panel and storefront.

hi @kirkfall

Welcome to our forums!

You site seems to be deploying to a public site instead of a dist:

Do you mind changing to public on your site settings:

Thanks!