Build failed using vite+react

Hey @pranav

This deploy has failed because…

The directory build does not exist because Vite builds to the dist directory as shown in these lines

Try changing the publish directory to dist and deploy again.

Create React App does use build as the output directory, but many others (including Vite) use dist (and there is usually an option to specify a directory name should you want something else.)

1 Like