Build failed because of webpack errors
Hi folks! I'm having this issue trying to build/deploy next.js app integrated with prisma on Vercel. It seems that I'm having some permission issues but i don't understand why:
▲ Next.js 15.3.3
- Environments: .env
Creating an optimized production build ...
glob error [Error: EPERM: operation not permitted, scandir 'C:\Users\Walter\Cookies'] {
errno: -4048,
code: 'EPERM',
syscall: 'scandir',
path: 'C:\Users\Walter\Cookies'
}
Failed to compile.
Error: EPERM: operation not permitted, scandir 'C:\Users\Walter\Cookies'
Does anyone experienced the same issue?
`next build
▲ Next.js 15.3.3
- Environments: .env
Creating an optimized production build ...
glob error [Error: EPERM: operation not permitted, scandir 'C:\Users\Walter\Cookies'] {
errno: -4048,
code: 'EPERM',
syscall: 'scandir',
path: 'C:\Users\Walter\Cookies'
}
Failed to compile.
Error: EPERM: operation not permitted, scandir 'C:\Users\Walter\Cookies'
Build failed because of webpack errors`
Does anyone experienced the same issue?