Can't find Build output directory option

What is the name of the domain?

.

What is the issue you’re encountering

Can’t find Build output directory option

What steps have you taken to resolve the issue?

Sorry, newbie here learning how to become a full stack dev. I’m following the instructions to deploy using vite as stated here:

In the Set up builds and deployments, set npm run build as the Build command, and dist as the Build output directory. → I can’t find the build output directory…? See me screenshot.

I tried adding dist next to wrangler, or in path but none of these combinations work.

Screenshot of the error

I am having the same problem - Did you figure what the correct way to deploy a React / Vite project to pages?

I think I figured it out … I was going through the Create process for a Worker and not for a Pages setup. Doh!!

Click the tab for Pages after you click Create, it defaults to Workers

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.