Closed bangelischan closed 2 years ago
@bangelischan do you have PHP installed? It no longer comes with macOS, so that may be at fault.
Yes!
As you can see on the second screenshot, It’s installed under /opt/homebrew/bin/php
Le 22 avr. 2022 à 14:15, Jeff Byrnes @.***> a écrit :
@bangelischan do you have PHP installed? It no longer comes with macOS, so that may be at fault.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Hmmm! I’m on an Intel Mac, macOS 12.3.1, Alfred 4.6.4, Package Managers workflow v5.0.0, and it’s working OK for me:
Maybe try grabbing the workflow freshly? Might also be an Apple Silicon thing w/ where PHP is installed…?
I think it might be a problem with PHP. What's your version of php ? (under /opt/homebrew/php) And could I also see ur setup when you click on the "Brew" box in the workflow?
Thank you.
Does anyone have an idea ?
Doesn't work for me on Intel either.
Have tried changing Language to /usr/local/bin/php as well as the default /bin/bash Tried adding shebang in the brew.php of #!/usr/bin/env php
No joy.
@jeffbyrnes -- would you mind sharing a similar screenshot and tell us which version of PHP specifically you have installed via brew? It might help us troubleshoot this.
Sure thing:
🕙 17:48:26 jeffbyrnes in WebsterParser on main via v18.0.0
♠ which php
/usr/local/bin/php
🕙 14:35:14 jeffbyrnes in WebsterParser on main via v18.0.0
♠ php -v
PHP 8.1.5 (cli) (built: Apr 16 2022 00:14:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies
with Zend OPcache v8.1.5, Copyright (c), by Zend Technologies
Latest & greatest, installed via Homebrew. here’s the workflow:
Do y’all have the PATH
env var set in “Workflow Environment Variables”?
Oh. That just fixed it =D Forgot about the PATH.
Thank you!
Mine was another oddity after applying PATH com.farrell.pkgman.alfredworkflow was not present under: /Users/MYSUSER/Library/Application Support/Alfred/Workflow Data/
Creating such a directory manually fixed it.
Nice !
Le 4 mai 2022 à 15:06, jun6lee @.***> a écrit :
Mine was another oddity after applying PATH com.farrell.pkgman.alfredworkflow was not present under: /Users/MYSUSER/Library/Application Support/Alfred/Workflow Data/
Creating such a directory manually fixed it.
— Reply to this email directly, view it on GitHub https://github.com/willfarrell/alfred-pkgman-workflow/issues/162#issuecomment-1117709694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEYZNPT6GPCHWSMALWTEG3VILDDLANCNFSM5UDAP5DA. You are receiving this because you modified the open/close state.
Hi, I'm running MacOS 12.3.1 on a M1 mac && running Alfred 4.6.4.
It seems like I cant run the workflow correctly. When I run the "debug mode", here's what it says :
JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
I looked up the error but I can't seem to find the answer I'm looking for.