You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, strange. I have been using Vercel with Next 15 and contentlayer2 without issues for quite a while. Have you tried deleting the lock file? Also make sure that next-contentlayer is also upgraded to the new version.
Each time I deploy with Vercel I'm getting this error:
Error: ENOENT: no such file or directory, lstat '/vercel/path0/APP_PATH/.contentlayer/generated/Doc/_index.json'
It always works with a redeploy if I don't use the existing build cache.
I'm getting this error after upgrading to Next.js 15 and migrating from contentlayer to contentlayer2.
The text was updated successfully, but these errors were encountered: