beyondcode / invoker-community

74 stars 2 forks source link

Error opening project on M2 Mac #345

Closed pulley871 closed 1 year ago

pulley871 commented 1 year ago

Using php via brew, have tried linking and unlinking the brew. php commands run in the terminal.

Ran this on my intel mac two days ago with same setup and everything ran like it was supposed to.


OS: darwin Invoker Version: 2.13.0 Laravel Version: unknown Local project: true PHP Binary: /usr/local/bin/php Route: /home?project=local-tCueh4tGbMvP81fcXatfwv

Screenshot 2023-07-03 at 4 15 47 PM

Error:


Error: spawn /usr/local/bin/php ENOENT
mechelon commented 1 year ago

Sounds like Invoker has detected the wrong (or no) PHP binary. Can you double-check the PHP path in your preferences?

adampatterson commented 1 year ago

Thanks, The error message here to new users is very unclear.

Given how many are created and closed without response it would be nice to change the prompt to something more constructive.

In my case an an M1 mac my PHP path was /opt/homebrew/Cellar/php/8.2.8/bin/php