So I’ve deployed quite a few Frontity projects so far and this is a new error to me:
Error: No Output Directory named "public" found after the Build completed. You can configure the Output Directory in your Project Settings. Learn More: https://vercel.link/missing-public-directory
I’ve never had to specify the output directory before but I tried to make it
build this time and that didn’t change the issue. I also made sure to use the same version of node in Vercel and locally. I reinstalled packages many times. I’m just kind of at a loss as to what could possibly be going wrong.
The only thing I can think of is that the Frontity project is located inside a directory of the original project, which was a React project, and that that React project’s settings in the parent folder are affecting the Frontity project. I’ll experiment with that later but I don’t really get why running
npx vercel specifically inside the directory I want to deploy would go up a directory to get settings etc. Here’s the repository in case you want to help out: