Skip to content

Facing Problem while deploying example project on vercel #7396

Closed Answered by pawlean
dpkdhariwal asked this question in Help
Discussion options

You must be logged in to vote

Hi @dpkdhariwal!

It looks like towards the end of the process, the following error occurred:

Error: ENOENT: no such file or directory, open '/vercel/path0/.next/server/app/login.rsc'

  • It looks like the ENOENT error code indicates that a file or directory does not exist.
  • The specific file in question is /vercel/path0/.next/server/app/login.rsc
  • This file is expected to be part of the build output but is missing, causing the deployment to fail.

To resolve this, I suggest that you:

  • Ensure that the build configuration and scripts are correctly set up to generate all necessary files, including login.rsc.
  • Manually verify if login.rsc is being generated in the local environment and investigate …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dpkdhariwal
Comment options

Answer selected by dpkdhariwal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants