Package version
0.0.0
Describe the bug
npm run dev errors out with following message:
npm run dev
> v7-new-docs@0.0.0 predev
> npm run dev:search:index
> v7-new-docs@0.0.0 dev:search:index
> pagefind --site build/public --output-path=public/pagefind
Running Pagefind v1.5.2 (Extended)
Running from: "/home/mcsneaky/Projects/AdonisJS/v7-docs"
Source: "build/public"
Output: "public/pagefind"
[Walking source directory]
Found 0 files matching **/*.{html}
[Parsing files]
Did not find a data-pagefind-body element on the site.
↳ Indexing all <body> elements on the site.
[Reading languages]
Discovered 0 languages:
[Building search indexes]
Total:
Indexed 0 languages
Indexed 0 pages
Indexed 0 words
Indexed 0 filters
Indexed 0 sorts
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.
How to reproduce:
git clone
npm install
cp .env.example .env
node ace generate:key
npm run dev
Running node ace serve --hmr directly works tho, seems like issue comes from predev npm run dev:search:index
Reproduction repo
No response
Package version
0.0.0
Describe the bug
npm run deverrors out with following message:How to reproduce:
git clonenpm installcp .env.example .envnode ace generate:keynpm run devRunning
node ace serve --hmrdirectly works tho, seems like issue comes frompredevnpm run dev:search:indexReproduction repo
No response