-
Notifications
You must be signed in to change notification settings - Fork 4
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
Not working in Alfred 5 #17
Comments
Hey @tonieerik Thanks for reporting this, I had a feeling it may break when I saw the changelog notes for Alfred 5 as workflows have been re-worked quite a bit. I am currently still using Alfred 4, however I will get in contact with the Alfred team to retain my key for Alfred 4 so I can ensure I am still able to update the v4 version of the workflow. As soon as I have a key for both v4 and v5 I shall upgrade mine, this means I will need to update the underlying PHP dependency this uses to interact with the workflows - it looks like that has been updated so hopefully it won't take too much to fix for Alfred v5 - famous last words! I'll drop a response as soon as I have an update. Cheers |
I am also seeing this behavior in Alfred 4.7 |
+1 |
Hi all, I have just installed Alfred 5 (5.1.4) on macOS Sonoma and downloaded the latest workflow file available at https://github.com/clnt/alfred-tailwindcss-docs/releases/tag/v3.0.1 From my testing it seems to be working without any issues, the results won't be identical to those shown on the TailwindCSS website search but I am not able to reproduce the issue above of it not returning results: I am running PHP 8.3 locally in my CLI although it should still work on earlier versions as it was before. If you are having any issues can you check that you are definitely using the latest release and have a valid PHP version (PHP 8.1+). If you continue to have issues let me know if there are any system differences, check PHP version with |
Hiya, I'm on a fresh install of Alfred 5.5, php 8.3 via laravel herd and macOs Somoma and I get the same issue as the OP. |
Thanks for the info! If I am to take a guess at what it might be as everything is working fine for me on Homebrew it would be the path to the PHP binary. Laravel Herd installs the binaries within the herd directory which is in the user's home directory. I could update the scripts in the workflow to include As a fix I would suggest creating a symlink between your working binary and one of the locations supported by the scripts. Here is a command which should symlink your Herd PHP binary to the
The other supported paths are the following:
|
Ok, cheers, will give it a shot and let you know. On Oct 23, 2024, at 10:17, Matt Clinton ***@***.***> wrote:
Hi @littlegreenguy
Thanks for the info! If I am to take a guess at what it might be as everything is working fine for me on Homebrew it would be the path to the PHP binary.
Laravel Herd installs the binaries within the herd directory which is in the user's home directory. I could update the scripts in the workflow to include ~/Herd/bin/php but would need to issue a new release which I am unable to do today.
As a fix I would suggest creating a symlink between your working binary and one of the locations supported by the scripts.
Here is a command which should symlink your Herd PHP binary to the /usr/local/bin/php location:
sudo ln -s ~/Herd/bin/php /usr/local/bin/php
The other supported paths are the following:
/opt/homebrew/bin/php
/usr/bin/php
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
hiya, symlink didn't work for me, though I didn't try debugging (in theory, it SHOULD work). I realised I have a similar fix in for the laravel docs workflow. Indeed it was related to the php path. I have updated the workflow as follows:
and works great now. Hope this helps others. Thanks too for this workflow, really useful. |
Workflow is not working properly in Alfred 5 (I am using latest v5.0.3).
The text was updated successfully, but these errors were encountered: