Code Monkey home page Code Monkey logo

Comments (10)

gdtroszak avatar gdtroszak commented on September 25, 2024

FWIW, explicitly downgrading pagefind from v0.10.6 to v0.10.5 fixes the issue (which may mean there's not much that can be done here?)

...
.use(pagefind({ binary: { version: "v0.10.5" } }))
...

from theme-simple-blog.

oscarotero avatar oscarotero commented on September 25, 2024

Hi. I remember to get a similar error at some point and after removing the _bin folder (so the binary file is downloaded again) it worked fine.
When you downgraded the version, the binary was downloaded again and maybe this is why it works. Can you try to update it to v0.10.6 again?

from theme-simple-blog.

gdtroszak avatar gdtroszak commented on September 25, 2024

Yep, exactly. For my own sanity I:

  1. Removed the _bin folder (containing pagefind v0.10.5).
  2. Explicitly configured the plugin to use pagefind v0.10.6.
  3. Ran deno task serve.

That resulted in the error I initially reported, so it definitely seems to be related to pagefind @ 0.10.6.

Also, I should have mentioned that I'm using macOS on ARM, so it's attempting to download this release of pagefind prior to hitting the error.

https://github.com/CloudCannon/pagefind/releases/download/v0.10.6/pagefind-v0.10.6-aarch64-apple-darwin.tar.gz

from theme-simple-blog.

oscarotero avatar oscarotero commented on September 25, 2024

It's weird, because I'm using the last version in the Lume blog (https://github.com/lumeland/blog) without problems.

from theme-simple-blog.

gdtroszak avatar gdtroszak commented on September 25, 2024

It's weird, because I'm using the last version in the Lume blog (https://github.com/lumeland/blog) without problems.

Very strange. I just cloned the blog repo and ran into the same issue...

from theme-simple-blog.

oscarotero avatar oscarotero commented on September 25, 2024

Mmmm, what's your macOS? M1 or Intel processor?

from theme-simple-blog.

gdtroszak avatar gdtroszak commented on September 25, 2024

M1 running Ventura 13.1.

from theme-simple-blog.

oscarotero avatar oscarotero commented on September 25, 2024

I'm running Intel. Maybe it's a bug in the M1 version. Lume downloads the binary according to your OS and architecture from here: https://github.com/CloudCannon/pagefind/releases/tag/v0.10.6

from theme-simple-blog.

gdtroszak avatar gdtroszak commented on September 25, 2024

I think that's it.

I just tried running the barebones example in an Alpine Docker container and got past the issue...

from theme-simple-blog.

bglw avatar bglw commented on September 25, 2024

NB: Looks like this will have been fixed in lumeland/lume#362 / Pagefind 0.10.7

from theme-simple-blog.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.