我對Laravel很安靜,我發現它很好,很容易主要來自CodeIgniter背景。但今天我剛剛偶然發現了我與Laravel的第一個大問題,它是偉大的作曲家。LucaDegasperi OAuth2Server問題與Laravel 4與作曲家更新
我剛剛從GIT克隆了Laravel web項目。一旦克隆,我無法在本地XAMPP服務器上運行該應用程序。不過,我覺得也許這是一個依賴問題,所以我跑作曲家更新,這裏是我得到的錯誤:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Generating autoload files
{"error":
{
"type":"ErrorException",
"message":"Declaration of LucaDegasperi\\OAuth2Server\\OAuth2ServerServiceProvider::boot() should be compatible with Illuminate\\Support\\ServiceProvider::boot()",
"file":"C:\\xampp\\htdocs\\working_folder\\myproject\\vendor\\lucadegasperi\\oauth2- server-laravel\\src\\OAuth2ServerServiceProvider.php",
"line":177
}
}
{"error":
{
"type":"ErrorException",
"message":"Declaration of LucaDegasperi\\OAuth2Server\\OAuth2ServerServiceProvider::boot() should be compatible with Illuminate\\Support\\ServiceProvider::boot()",
"file":"C:\\xampp\\htdocs\\working_folder\\myproject\\vendor\\lucadegasperi\\oauth2-server-laravel\\src\\OAuth2ServerServiceProvider.php",
"line":177
}
}
我已經研究了上線解決方案,但我沒有機會修復它。下面是幾件事情我已經嘗試:
- 改版本的包lucadegasperi /的oauth2-服務器laravel的
- 變化用於開發穩定的最低穩定性,反之亦然
所有嘗試的修復導致了其他錯誤。
有誰知道什麼可以在這裏是問題,如果是的話我能做些什麼來解決這個問題