Can anybody please help? I keep getting this error in Cursor despite multiple attempts to fix it. I’m not a coder, so I rely on Cursor, but it keeps trying without providing a solution. Any suggestions on how to solve this? Please help!
Hi @rickyk19, welcome to the Vercel Community!
Can you share a bit more about the project: what tech stack (React SPA/Next.js) and all it’s using?
Also, can you share a screenshot of the deployment details where we can see what assets were included in the build output. This will help us suggest you solutions.
The most common reason for the error that you see not setting the correct Framework preset in the Project settings on the Vercel dashboard.
Hii Anshuman!!! Thanks for showing interest - here are the details which help i guess -
Framework: React SPA (Single Page Application) built with Create React App v5.0.1
Key Dependencies:
-
React 19.1.0 + React DOM 19.1.0
-
React Router DOM 6.22.3 (for client-side routing)
-
Supabase 2.50.0 (for backend/database)
-
Heroicons React 2.2.0 (for icons)
-
Framer Motion 12.18.1 (for animations)
-
TypeScript 4.9.5
and i tried your fix of - Framework Preset - you are right - it was set to ‘Vite’ and i changed to ‘Create react App’ and unfortunately this will also won’t work till now!! i am trying …
I see. Can you share the screenshot of the deployment details so we can see the build output?
If you need more help, please share your public repo or a minimal reproducible example. That will let us all work together from the same code to figure out what’s going wrong.
Anshuman here is the public repo link - GitHub - Rickyk19/my-ai-website
I request you to "Please do not share this with anyone else.
I created this entire project using Cursor (AI Coding) since I’m not a coder. This is my first project, and I would really appreciate it if you could point out any mistakes (and guide me). I’ll note down the mistakes to avoid repeating them in my future projects.
Hi @rickyk19, since this repository is public, it’s not up to me to share or not. That being said, it it won’t be any issues unless there’s some API keys or private credentials in the code.
About the project, I see there are nested directories in the repository:
- Which one are you trying to deploy here?
- I think the overall structure is quite bloated and maybe you should try asking Cursor to explain the reasoning behind choosing this structure.
To me billion-hopes-site
looks like the React app SPA project. So, if you set it as the Root directory in the Project settings in Vercel and then pick Create React App as the framework preset it should deploy.
I won’t be able to do an in-depth review of your codebase but I think if the project works locally, then we just need to know which subfolder is the actual app you are trying to deploy and ask Cursor to share the Vercel specific deployment steps if it is a custom setup.