2014-04-08 2 views
0

나는 나의 laravel 프로젝트를 설치하는 문제가 나타났습니다. 나는 문제없이이 여러 번 수행했지만 내가 GitHub의에서 내 프로젝트의 업데이트 된 사본을 풀 수 있도록 새 컴퓨터로 이동하고 싶어이 특정 시간, "작곡가 설치"실행, 설치가이 단계Laravel 4 : 생성 자동로드 파일 오류

Writing lock file 
Generating autoload files 
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 
'Monolog\\Logger' not found","file":"C:\\personal\\questack\\vendor\\laravel\\framewo 
rk\\src\\Illuminate\\Log\\LogServiceProvider.php","line":23}}{"error 
:{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Monolog\\Logger' not found","file":"C:\\personal\\questack\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\LogServiceProvider.php","line":23}}Script php artisan clear-compiled handling the post-install-cmd event returned with an error, 
주위에 파산

왜 이런 일이 일어나는 지 아십니까? 당신의 composer.json에서

답변

1

는 또한

"minimum-stability": "dev" 

"minimum-stability": "stable" 

변경 자기 갱신하여 작곡가를 업데이트합니다.

php composer.phar self-update 

이유는 독백은 PSR-4 자동 로딩을 사용하지만 작곡가의 이전 버전은 PSR-4로드하는 방법을 모르고있다.

이 문제를 해결해야한다.