Óscar Otero
Óscar Otero
It looks like pagefind cannot find a binary file for your computer. The pagefind plugin download one of the files of the release assets: https://github.com/CloudCannon/pagefind/releases/tag/v0.8.1 These are the possible targets:...
Ok, understood. Does the x86_64 architecture work on Mac M1? You can download the binary https://github.com/CloudCannon/pagefind/releases/tag/v0.8.1 and save it into `_bin/pagefind`. And then run lume blog. If it works fine,...
It looks like the npm package returns the same binary for all darwin architectures: https://github.com/CloudCannon/pagefind/blob/84d5941afeaf4e3bfc85cb369a762f01b931c5c0/wrappers/node/lib/postinstall.js#L39 I'll fix that.
Thanks! It's a bug in the Lume jsdoc. It will be fixed when the next Lume version is released
The `CallableHandler` class is not receiving a callable element. Can I see the code including how are the middlewares implemented?
This is the code of RequestHandler middleware that decided how to handle your callable: https://github.com/middlewares/request-handler/blob/master/src/RequestHandler.php#L75 If it's a string (your case now), seems to work fine. If it's an array...
Ok, I'll take a look. Thanks
The array you're providing is not callable. A way to use an array of routes as a single callable is as the following: ```php $map->get('index', '/', new Dispatcher([ new SampleRouteMiddleware(),...
Hi. Yes, this is a bug, sorry for the troube. I can't believe I didn't catch this before, thanks for letting me know! It will be fixed in the next...
Fixed in Lume 2.2.0.