我在的Windows 10家,並設置PATH EV安裝Drush(主分支爲Drupal 8)之後,所有需要它的價值,我跑drush cc all
...然後我得到的錯誤:Drupal Drush master-branch in Windows 10 home requires composer - what and why?
C:\wamp\www\benia>drush cc all Failed loading c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.4.0rc1-7.0-vc14-x86_64.dll
Unable to load autoload.php.
Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md.
我我還不是一名程序員,也不知道爲什麼Drush需要Composer軟件,以及如何將它安裝在使用Drush的Windows 10主頁上。有人可以爲我這樣的外行寫一個詳細的,階梯式的答案,如何解決它?
嗨,老兄,我已經從一個默認的過程中,安裝程序安裝它(即不使用 「殼牌菜單」)。在完成安裝後,我去了cmd,然後輸入cd/cd wamp/www/benia,並在導航輸入drush cc之後,但關於作曲家安裝的原始錯誤似乎仍然存在。我應該卸載並重新安裝「Shell菜單」嗎?或者也許在我執行的安裝和Drush之間只有某種行動,我還沒有執行? – JohnDoea
確保您安裝的目錄實際上在PATH變量中。然後確保'composer.bat'和'composer.phar'位於安裝位置。如果不遵循[手動安裝](https://getcomposer.org/doc/00-intro.md#manual-installation)步驟。 – sareed