beyondcode / invoker-community

74 stars 2 forks source link

Error with local project #322

Closed NAIJULU closed 1 year ago

NAIJULU commented 1 year ago

OS: darwin Invoker Version: 2.10.0 Laravel Version: unknown Local project: true PHP Binary: /usr/local/bin/php Route: /home

Error:

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

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

CleanShot 2022-07-18 at 18 47 57@2x
shinwarismail commented 1 year ago

In my case using XAMPP is like this

"php.validate.executablePath": "C:/xampp/php/php.exe"

mpociot commented 1 year ago

Please make sure that you have configured your local PHP executable correctly.