invoker-community icon indicating copy to clipboard operation
invoker-community copied to clipboard

App "crashes" when php reference doesn't exist.

Open eduardocruz opened this issue 9 months ago • 0 comments

I hadn't opened Invoker in probably 1 or 2 years. When I opened it asked to update to 2.14.0 After that I chose a folder to add a new project and got an error and telling me to open a github issue. I easily realized that the problem was the PHP Binary path didn't work.

But ideally, the system would identify that and tell me to fix it, instead of telling me to open a github issue.

Since I'm using Laravel Herd, the Path that I used and worked: /Users/myuser/Library/Application Support/Herd/bin/php

For reference, this is what happened when I tried running: /opt/homebrew/bin/php

/opt/homebrew/bin/php dyld[51494]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicuio.74.dylib Referenced from: <3C8145EE-3FF1-3917-95C6-814FA2AD7B61> /opt/homebrew/Cellar/php/8.3.9/bin/php Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/opt/icu4c/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file), '/opt/homebrew/Cellar/icu4c@77/77.1/lib/libicuio.74.dylib' (no such file) zsh: abort /opt/homebrew/bin/php


OS: darwin Invoker Version: 2.14.0 Laravel Version: unknown Local project: true PHP Binary Path: /opt/homebrew/bin/php PHP Version: Route: /home

Error:


eduardocruz avatar Apr 24 '25 14:04 eduardocruz