Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11: npx pagefind --source public - Not Working #100

Closed
RenaudDev opened this issue Oct 18, 2022 · 9 comments
Closed

Windows 11: npx pagefind --source public - Not Working #100

RenaudDev opened this issue Oct 18, 2022 · 9 comments
Labels
bug Something isn't working Pagefind CLI The CLI responsible for indexing content

Comments

@RenaudDev
Copy link

Hi, very exciting project!

Trying to install on a hugo website and nothing is happening.

I made a build a my website
hugo

I installed it:
npx pagefind --source "public"

I created a pagefind.yml in the root directory

# pagefind.yml
source: public
bundle_dir: _pagefind

Then when I type
npx pagefind

After a couple seconds...nothing happens.

I tried installing it via npm and then run
npm run

Nothing happens there either.

@RenaudDev
Copy link
Author

Hi,

so afterall, I installed the version 0.6.1 and everything seems to work fine now.

@bglw
Copy link
Contributor

bglw commented Oct 18, 2022

Interesting — So 0.6.1 is working and 0.8.1 was not working?

@RenaudDev
Copy link
Author

Interesting — So 0.6.1 is working and 0.8.1 was not working?

Yes exactly

@darusk
Copy link

darusk commented Oct 25, 2022

I've just been trying this and have also found the latest releases do not do anything. I've tried multiple versions and it seems to stop working from 0.7.1 onward using the npm wrapper. This is on Windows 10, so probably a more general Windows issue.

If I download the latest manually it seems to run fine, so probably something to do with the npm wrapper?

Aside from that looking forward to trying this out, it seems to fill many gaps in the SSG search area.

@bglw
Copy link
Contributor

bglw commented Oct 25, 2022

Thanks for the context — 0.7.0/0.7.1 is when the pagefind_extended binary was added and was made the default for the npx wrapper, so something in that changeover has obviously failed. I'll inspect that

@bglw
Copy link
Contributor

bglw commented Oct 25, 2022

Sorry for the delay all — this should be fixed by #113 — aiming for a release this week 🙂

@bglw bglw added the Pending Release Work complete, but not necessarily released. label Oct 26, 2022
@bglw
Copy link
Contributor

bglw commented Oct 26, 2022

👋 Hello! This is fixed in the Pagefind v0.9.0 release 🎉

@bglw bglw closed this as completed Oct 26, 2022
@bglw bglw reopened this Oct 26, 2022
@bglw
Copy link
Contributor

bglw commented Oct 26, 2022

Sorry, false start — 0.9.1 going out which is on track to resolve this 🤞

@bglw bglw added bug Something isn't working Pagefind CLI The CLI responsible for indexing content labels Oct 26, 2022
@bglw
Copy link
Contributor

bglw commented Oct 26, 2022

👋 Hello! This is fixed in the Pagefind v0.9.1 release 🎉

@bglw bglw closed this as completed Oct 26, 2022
@bglw bglw removed the Pending Release Work complete, but not necessarily released. label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Pagefind CLI The CLI responsible for indexing content
Projects
None yet
Development

No branches or pull requests

3 participants