Sanjar Mirakhmedov
Sanjar Mirakhmedov

Reputation: 11

Vagrant ssh code executing gives an error

I'm stuck with a silly problem. I'm using Vagrant with Homestead and Laravel for developing. The problem is when I go to a project and try to execute any command it gives me the following error:

Error message

I have set the PATH = "usr/local/bin". I'm stuck with this for 2 days and I don't know what to do so If you had the same problem please share your experience with me.

Upvotes: 0

Views: 63

Answers (1)

njachowski
njachowski

Reputation: 1167

First, be sure that your PATH is set correctly: PATH=$PATH:/usr/bin:/usr/local/bin

If you're getting a permission denied error try giving yourself execute permission on artisan and laravel like so:

sudo chmod +x /usr/local/bin/laravel

Upvotes: 2

Related Questions