Mix已经安装成功了,访问shop.test还是报错

could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: file_put_contents(/home/vagrant/Code/laravel-shop/storage/framework/views/033a92fd524d6a362235034687ee19052ce7c9dd.php): Failed to open stream: Permission denied Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}} Context: {“exception”:{}}

我看到的只是冰山一角,我学到的只是九牛一毛……
learner
《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
最佳答案

storage/log目录需要权限,用的liunx系统的话进入项目目录,使用命令

sudo chmod -R 777 *

就好了

1年前 评论
learner (楼主) 1年前
美丽 (作者) 1年前
讨论数量: 3

storage/log目录需要权限,用的liunx系统的话进入项目目录,使用命令

sudo chmod -R 777 *

就好了

1年前 评论
learner (楼主) 1年前
美丽 (作者) 1年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!