After deployment, visiting domain results in file download

I have just joined Vercel and I’m trying to get an app built/deployed but having trouble. It appears the build/deployment was successful, however, when I visit the site, instead of rendering in the browser, it initiates a download. Has anyone experienced this? Any help greatly appreciated. TIA.

Hi, can you share the deployment URL?

Hello. Not sure to which url you’re referring..

https://catskill-architectural-salvage-vendor-fy437uupt.vercel.app

It looks like your index page is trying to download a file because you don’t have any HTML file to serve right now:

➜  ~ curl https://vendor.catskillas.com
import * as react_jsx_runtime from "react/jsx-runtime"

declare const App: () => react_jsx_runtime.JSX.Element

export default App

I will recommend referring to Vite documentation or refer to one of our templates to get started

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