commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Deploy button from repo fails with error: "Error: The specified Root Directory "site" does not exist. Please update your Project Settings."

Open henrybabbage opened this issue 2 years ago • 2 comments

Full error message is the following:

"Error: The specified Root Directory "site" does not exist. Please update your Project Settings. Learn More: https://vercel.com/docs/build-step#root-directory"

Seems that the Deploy button does not trigger a successful deployment to Vercel.

henrybabbage avatar Nov 24 '23 17:11 henrybabbage

Where is the deploy button you're clicking? The template page? The README? I tried both and they worked for me.

The deploy buttons really shouldn't be modifying the root directory. It should be empty and not say "site". Is this something you changed post deployment?

CleanShot 2023-12-24 at 14 39 27@2x

manovotny avatar Dec 24 '23 20:12 manovotny

The deploy button was on the repository image

Myself, I was clicking on the V1 version, but it had the same error

Ben-Lai avatar Mar 08 '24 03:03 Ben-Lai