Next.js Discord

Discord Forum

Next.js can't find.next/BUILD_ID

Unanswered
Puli posted this in #help-forum
Open in Discord
PuliOP
Hello!
I just added playwright tests to my next.js app and set it up to start the up for test by itself. Now it throws this error:
[WebServer] [Error: ENOENT: no such file or directory, open '/home/runner/work/mineTomek-Website/mineTomek-Website/.next/BUILD_ID'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/runner/work/mineTomek-Website/mineTomek-Website/.next/BUILD_ID'
}

Error: Process from config.webServer was not able to start. Exit code: 1

Here is the full job:
https://github.com/mineTomek/mineTomek-Website/actions/runs/7430444972/job/20220274472

1 Reply

PuliOP
### I'm using GitHub Actions