#Unable to deploy my app, sanity studio inside my tree
1 messages · Page 1 of 1 (latest)
his issue is related "https://stackoverflow.com/questions/74927122/vercel-next-js-sanity-io-production-deployment-fails"
Stack Overflow
I have a Next.js + Sanity.io project and when I deploy from local build using vercel CLI with
vercel build and then vercel deploy --prebuilt, it works great.
However, when I do vercel --prod to cre...
I am getting this message "Type error: Cannot find module 'sanity/cli' or its corresponding type declarations."
Use npx instead could fix the problem?