When the library updated from 0.4.0 to 0.4.1, Vercel builds throws an error as below. Local builds complete without any issue.
Next.js version 14.2.16
Error: ENOENT: no such file or directory, lstat '/vercel/path0/.next/export-detail.json'
Update the library to 0.4.1 and push to Vercel for build
Vercel with Node 20
Next.js version 14.2.16
next-swagger-doc 0.4.1
npm
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too