Frameworks(s) affected: NextJS
Description
Deploying to Vercel seems to succeed, but accessing the page in a browser results in an error. The server logs display the following.
[Error: ENOENT: no such file or directory, open './src/translations/en.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: './src/translations/en.json' }
How to reproduce
Follow the steps to bootstrap a new application, add the project in Vercel, set the subdirectory to ‘application’, copy env vars into Environment, deploy.
Frameworks(s) affected: NextJS
Description
Deploying to Vercel seems to succeed, but accessing the page in a browser results in an error. The server logs display the following.
[Error: ENOENT: no such file or directory, open './src/translations/en.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: './src/translations/en.json' }How to reproduce
Follow the steps to bootstrap a new application, add the project in Vercel, set the subdirectory to ‘application’, copy env vars into Environment, deploy.