Error on install directions
Nobody has claimed this yet.
- Dominant language
- Edge
- Stars
- 21
- Forks
- 33
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 1
Description
When we try to use this and follow the instructions, after doing everything and then running, npm run dev locally, we get an error: 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
this is kind of circular, as we are running this on local dev first, so we don't have any html files, so how does the run dev actually work if PagFind requires html files before a build?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by following the documented installation instructions and running npm run dev to reproduce the Pagefind error. Inspect the setup and development instructions around the Pagefind build step, then verify the documented process works from a clean local setup without requiring pre-existing HTML files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100