beyondcode / beyondcode/invoker-community

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

Open
#398 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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**:
```

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.