Open Mhmd7770777 opened 2 years ago
I am getting the Same problem
Try doing the npm install --legacy-peer-deps within the Vercel project deploy page.
When deploying your project, go to the "build and output" settings, and in the npm command input write, npm install --legacy-peer-deps.
Select the override radio button, then try deploying.
for some reasons i cant deploy my app on vercel, something about incorrect peer dependencies i guess.I can provide other screenshots of my code or of the error if needed.i tried everything and it is still not working.
Also,something is wrong as an error show
warning " > next-sanity-image@3.2.1" has incorrect peer dependency "@sanity/client@^2.11.0".
but in the code you can see that my @sanity/client is ^3.2.0 not 2.11.0, and i dont know the reason for that.
or maybe the problem is
where vercel cant resolve statecontext and other things for some reasons
please help