failed to load config from /vercel/path0/vite.config.js
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package ‘@tailwindcsstailwindcsstailwindcsstailwindcsstailwindcsstailwindcsstailwindcsstailwindcss/vite’ imported from /vercel/path0/node_modules/.vite-temp/vite.config.js.timestamp-1764666607979-281cc1632e3e2.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:316:9)
at packageResolve (node:internal/modules/esm/resolve:768:81)
at moduleResolve (node:internal/modules/esm/resolve:858:18)
at defaultResolve (node:internal/modules/esm/resolve:990:11)
at #cachedDefaultResolve (node:internal/modules/esm/loader:737:20)
at ModuleLoader.resolve (node:internal/modules/esm/loader:714:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:293:38)
at #link (node:internal/modules/esm/module_job:208:49)
Error: Command “npm run dev” exited with 1
I did have an issue once when I brought in a vite code based project and the agent actually just changed it all for me so that it was in the code base that v0 works better with. Maybe that is something you could try / ask?
just in the normal prompt area. Just ask it to look at the console log and fix those errors. You can try that as is.
Or you can try pasting in some of what I sent (but be advised I cant guarantee what i gave you WILL work), and ask it if those would help fix it.
I would stat though by just telling it to look at the Console log errors and fixing those issues. But be sure to tell it to give you an explanation and to confirm with you what it will do before you accpet it. So then you can read it all and see what you think is best based on what it will do.
see if any of that works (if this is in v0 you are getting the errors). Otherwise there may be another help area for wider Vercel topics. I am sure a team member will also jump in on this too if no solution is found asap.
Maybe @avik-creator, you have some thoughts / ideas on a solve for this?
Then, what I am assuming will happen is this. It will read its Vite, say it doesnt “like” vite and refactor it all to code that works with, but keep yoru design 1:1.
I am saying I assume this will happen becuase this is what I did for a project I started in Lovable. I pushed it to Github, downloaded as zip, uploaded / styarted with zip upload, it brought it in, agent said it didnt / coudlnt work with vite and that it would refactor, I said yes, and it worked and kept the designs 1:1.
if you dont want to use v0 but just want this hosted etc on Vercel, maybe you can still get it answered here, or you can try posting your issue / question here Help - Vercel Community as that is Vercel exclusively it seems