pat me
pat me
TTermux
Created by pat me on 1/2/2025 in #support
Pagefind in termux
I am quite lost because I don't understand how binary packages work i think https://pagefind.app/docs/installation/ this doesn't work with npx command
$ npx -y pagefind --dist public --serve
Failed to run pagefind via the npx wrapper: Error: Failed to install either of [pagefind_extended, pagefind]. Most likely the platform android-arm64 is not yet a supported architecture. Please open an issue at https://github.com/CloudCannon/pagefind and paste this error message in full. If you believe this package should be compatible with your system, you can try downloading a release binary directly from https://github.com/CloudCannon/pagefind/releases Please open an issue at https://github.com/CloudCannon/pagefind and paste this error message in full.
$ npx -y pagefind --dist public --serve
Failed to run pagefind via the npx wrapper: Error: Failed to install either of [pagefind_extended, pagefind]. Most likely the platform android-arm64 is not yet a supported architecture. Please open an issue at https://github.com/CloudCannon/pagefind and paste this error message in full. If you believe this package should be compatible with your system, you can try downloading a release binary directly from https://github.com/CloudCannon/pagefind/releases Please open an issue at https://github.com/CloudCannon/pagefind and paste this error message in full.
i checked the binary releases from https://github.com/CloudCannon/pagefind/releases in that error, it seems to have an aarch64 linux? but I don't know what to do with that or if that would even actually work. (I spent some time figuring out that my android is aarch64, or so i think) there is also information about using rust and cargo or something in the installation page but I don't know if that would be any different than using npm, it seems python version is also a wrapper so i gues rust would be a wrapper as well. if anyone that understands binary releases and packages could guide me and let me know if this would work at all with some method, that would be helpful. or whether i should give up on pagefind in termux. for context i was using this with astro, but this doesn't work without as well. same result (that error) thanks for your time
13 replies