adonisjs / adonisjs/v7-docs

Error on install directions

Open
#55 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.