I'm using mac os x Sierra, I installed laravel and try to resolve error but could not succeed can anyone help me please, I follow the below steps.
- change permission on storage folder.
- cache clear.
- Composer updated.
- mac os x Sierra
I'm using mac os x Sierra, I installed laravel and try to resolve error but could not succeed can anyone help me please, I follow the below steps.
I solved this problem on my MacBook Pro (running Mojave) by going to my LaravelProject's folder first. Then I navigated to LaravelProject's vendor\laravel\framework\src\Filesystem\Filesystem.php
and searched and modified
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
to
return file_put_contents($path, $contents, $lock ? LOCK_SH : 0);
.
If any kind of confirmation is asked while modifying this file, confirm it.