Know Issues
ZSH: command not found laravel
When you install Laravel with this command composer global require laravel/installer
the command Laravel still unavailable.
Solution
echo "PATH=\"$HOME/.config/composer/vendor/bin:$PATH\"" >> ~/.zshrc
# Restart your ZSH
source ~/.zshrc
Be happy 👌
tymon/jwt-auth 0.5.12 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but it conflicts with your root composer.json require (^8.18).
composer require tymon/jwt-auth:^1.0.2
flock() expects parameter 1 to be resource, boolean given
Go to your application root folder
Give permissions to your
storage
folder
sudo chmod -R 775 storage
The right thing is to have
775
permissions to this folder then change only the group to allow both your user and the webserver user to write into those folderssudo chgrp www-data storage/framework/cache sudo chgrp www-data storage/framework/cache/data
Last updated
Was this helpful?