简体   繁体   English

Laravel 5.0-运行作曲家安装错误

[英]Laravel 5.0 - Error by running composer install

On Ubuntu, when I clone my Laravel 5.0 project from GitHub and then hit "composer install", I get the following result: 在Ubuntu上,当我从GitHub克隆Laravel 5.0项目并单击“ composer install”时,得到以下结果:

在此输入图像描述

I can't see the .env file, but I tried copying .env file from other local project and then I get one error loading blade files using @include(): 我看不到.env文件,但尝试从其他本地项目复制.env文件,然后使用@include()加载刀片文件时出现一个错误:

在此输入图像描述

I tried on Windows too, but is the same result, I notice when I do "git add --all" a warnning message is showed: 我也在Windows上尝试过,但是结果是一样的,我注意到当我执行“ git add --all”时会显示警告消息:

在此输入图像描述

I solved the problem, when I run "chmod -R 775 project_name", I had some views errors like: 我解决了这个问题,当我运行“ chmod -R 775 project_name”时,出现了一些视图错误,例如:

在此输入图像描述

I fixed the problem changing view path from this "tickets\\partials\\status" to "tickets/partials/status". 我修复了将视图路径从“票证\\部分\\状态”更改为“票证/部分/状态”的问题。 I never thought that was the problem, because on Windows run right with this: "tickets\\partials\\status". 我从来没有想到这是问题所在,因为在Windows上可以正确运行:“ tickets \\ partials \\ status”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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