简体   繁体   中英

Laravel 5.5 “UnexpectedValueException” on Mac, installation error

I am a web developer. Previously I used to code in Windows, I'm new to Mac. I used Laravel previously many times on Windows, never had this problem. I checked the File Permission on Mac very carefully, both Read/Write permissions are enabled for all along with Enclosed Items .

I Googled it, no luck. CodeIgniter and WordPress are working very well.

Is it possible to fix? I carefully installed Lavael with Composer, the same file are smoothly working on Windows.

I'm using XAMPP .

在此处输入图片说明

Follow these steps to change permissions

  • Open terminal.
  • sudo chmod -R 777 /opt/lampp/htdocs/laravel/storage
  • sudo chmod -R 777 /opt/lampp/htdocs/laravel/bootstrap

But for me I prefer to use Vagrant/Homestead, everything is set and ready to go, check this out Homestead/Vagrant

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM