Skip to content

Error deploying to Vercel #39

@cjgdev

Description

@cjgdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions