2013-10-02 15 views
0

我收到以下錯誤,當我嘗試與作曲家更新學說錯誤更新與作曲家的教條可能是一個錯誤?

[RuntimeException] 
    Failed to clone https://github.com/doctrine/dbal.git via git, https protocols, aborting. 

    - git://github.com/doctrine/dbal.git 
    error: could not lock config file .git/config: Permission denied 
    error: cannot open .git/FETCH_HEAD: Permission denied 


    - https://github.com/doctrine/dbal.git 
    error: could not lock config file .git/config: Permission denied 
    error: cannot open .git/FETCH_HEAD: Permission denied 

我使用這行的教義在我composer.json

"doctrine/doctrine-bundle": "1.2.*@dev", 
+0

'權限denied' - >請查看您的權限 – cheesemacfly

+0

Obiously我知道,但是我覺得權限是在github教義的一面。這意味着他們不允許我從git中取出最新版本 –

+1

權限問題與計算機上的'.git/config'文件有關。你在用什麼用戶?此文件的權限設置是什麼? – cheesemacfly

回答

0

請查看該供應商中學說文件夾具有正確的權限。對於我刪除原理文件夾並再次運行更新解決了問題。

$ sudo rm -rf vendor/doctrine ; ./composer update