Skip to content

Local version works great, deployed version doesn't work #609

Closed Answered by NickHodges
NickHodges asked this question in Q&A
Discussion options

You must be logged in to vote

Ahh! That was helpful!

So I looked closely at the build logs, and I saw this:

09:57:13 [build] directory: /vercel/path0/.vercel/output/static/

so I set my postbuild to this:

"postbuild": "pagefind --site .vercel/output/static/"

and now it works!

Thank you for your help. I'm grateful to you. All the way from New Zealand! Kia Ora!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NickHodges
Comment options

Answer selected by bglw
@bglw
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants