Closed fumblehool closed 8 months ago
Running the code gives: Error: ENOENT: no such file or directory, open '/workspace/_static/BUILD_ID' However, BUILD_ID is in .next directory.
Error: ENOENT: no such file or directory, open '/workspace/_static/BUILD_ID'
BUILD_ID
.next
As per discussion here: https://github.com/vercel/next.js/discussions/55268 export doesn't work with next start.
export
next start
This PR replaces next start with serve to fix this issue
Problem
Running the code gives:
Error: ENOENT: no such file or directory, open '/workspace/_static/BUILD_ID'
However,BUILD_ID
is in.next
directory.As per discussion here: https://github.com/vercel/next.js/discussions/55268
export
doesn't work withnext start
.This PR replaces next start with serve to fix this issue