#Unable to Deploy Website

10 messages · Page 1 of 1 (latest)

simple owl
#

I have been trying to deploy me project for a long time now through vercel, but for some reason the webpage doesnt show up. When I run npm run build, the project compiles without any error and is also deployed sucessfully to vercel, but this shows up rather than the actual webpage.

This shows up in the Console, Failed to load resource: the server responded with a status of 404 ()

shy wasp
#

Check build logs on Vercel

gloomy patio
simple owl
gloomy patio
#

Probably, yes

simple owl
#

ok thank you I will try that

hazy heraldBOT
#
If your issue is resolved, please help by doing the following two steps:
  1. From the ellipses (3-dot menu) in the top-right corner of the post (not the first message), edit the tags to include the Solved tag.
  2. From the same ellipses, select Close Post.
    Your post will still be available to search and can be re-opened simply by replying in it. Closing a post moves it down with older posts, so we can more easily focus on issues that still need to be resolved.
    Thank you for your help!
simple owl
#
Error: Pagefind was not able to build an index.
Most likely, the directory passed to Pagefind was empty or did not contain any html files.
Error: Pagefind was not able to build an index.
Most likely, the directory passed to Pagefind was empty or did not contain any html files.

Got this error while running npm run build, can someone help?

trim grail
#

See the error message. Did yiu pass a directory to pagefind? And if so, does it contain any files?

Are you using the astro-pagefind integration?

digital vale