Closed smallstepstoday closed 2 weeks ago
👋 Hey @smallstepstoday
In verbose mode, Pagefind's npm wrapper always logs out the exit code from the indexing binary. The good news is that zero is the exit code for success, so that log is just saying that Pagefind ran successfully 🙂
When deploying a Next.js project with Pagefind added, Vercel reports an error message.
A repo that demonstrates the issue can be found here.
Here is an excerpted build log from Vercel:
Although the build ultimately succeeds, the build log highlights the line
pagefind npm wrapper: Process exited with status 0
as an error.