composer.json
에 새로운 종속성을 추가하고 composer update
을 실행 한 후 새로운 Laravel 4 설치에서 다음 오류가 발생합니다. 어떤 아이디어?Laravel 4에 종속성을 추가 한 후 작성자를 업데이트하면
[RuntimeException]
Source directory /var/www/projects/adcraft/vendor/laravel/framework has uncommitted changes.
composer.json
에 새로운 종속성을 추가하고 composer update
을 실행 한 후 새로운 Laravel 4 설치에서 다음 오류가 발생합니다. 어떤 아이디어?Laravel 4에 종속성을 추가 한 후 작성자를 업데이트하면
[RuntimeException]
Source directory /var/www/projects/adcraft/vendor/laravel/framework has uncommitted changes.
당신은 그 공급 업체/laravel/프레임 워크 디렉토리에 가서 거기에 어떤 변화가보고 git status
를 실행할 수 있습니다. 어쨌든 최신 버전의 컴퓨터에 self-update
작곡가가 있다면, 지금 당신에게 물어볼 것입니다. 그리고 열심히 실패하지 않고 업데이트하기 전에 되돌리기를 원할 것입니다.
이 문제를 해결할 수있는 또 다른 방법은 composer.json 파일의 config 매개 변수에서 버려진 변경 사항을 설정하는 것입니다 (https://getcomposer.org/doc/06-config.md#discard-changes 참조).
{
"name": "test",
"description": "Demonstrating concepts",
...
"config": {
"process-timeout": 1800,
"discard-changes" : true
},
...
}
이것은 나를 위해 일했습니다.
해결해 줘서 고마워! 오해 된'chmod'의 결과로 모든 수정이 나타났습니다. – BenjaminRH