Vercel is a popular hosting platform for front-end applications, offering various deployment and hosting features. Deploying a React app to Vercel ...
For further actions, you may consider blocking this person and/or reporting abuse
Same here...
Although I am building a project without any framework at the moment (pure vanilla for now), I did add the vercel.json file to my project folder with the suggested code but I keep running into the same issue.
When checking the logs in Vercel, I only get this info:
Any help would be appreciated :)
it still hasen't work in my case
okay I finally managed to solve the issue in my case and the solution:
I just had to update my initial home page name to index.html (previously my homepage was named differently), and it seems like vercel need this index file (as mentioned in this page: vercel.com/docs/edge-network/direc... )
Maybe it's the same for you?
I've done that, is the file outside the folder?
Yeah, it is. Thanks for sharing this information. It really saves a developer from being confused :)
had to create an account just to thank you. i was loosing my mind, but i realised my file was spelled Index.html, with a capital 'I'
worked on my case, using vite, react and after adding the vercel.json file on my client directory:
npm create vite@latest clientthe error 404 does not occur.Worked for me. Thanks David!
Thx!
This worked.