2015-08-14 51 views
-1

我有Windows 10,實際的XAMPP和實際的作曲家。 Fork CMS位於E:\ xampp \ htdocs \ fork下。在此目錄中有下列行一個composer.json文件:作曲家沒有在Windows上安裝Fork CMS

... 
    "scripts": { 
      "post-install-cmd": "php app/console assetic:dump . && cd tools && bash ./remove_cache", 
      "post-update-cmd": "php app/console assetic:dump . && cd tools && bash ./remove_cache" 
     }, 
... 

當我運行「作曲家安裝」這個目錄,我得到以下錯誤:

[RuntimeException] Error Output: Command "bash" is misspelled or not found (* translated from German)

任何人有一個線索我?我知道bash來自linux,但我不知道如何在我的情況下使用它。謝謝你的幫助。

回答

1

錯誤儘可能清楚:您的機器上沒有bash命令可用。這是一個非常可能的錯誤,因爲Windows系統沒有bash命令。

因此,解決方案也很容易找到:安裝bash命令。例如,Git by windows帶有一個bash命令。 Other solutions are also available

+0

這幫了我一把!非常感謝。 – etalon11