composer - 指定了无效的工作目录错误

时间:2017-01-12 12:20:12

标签: php composer-php

我正在尝试安装Drupal控制台(https://drupalconsole.com/

根据此处的说明: https://hechoendrupal.gitbooks.io/drupal-console/content/en/getting/windows.html

我有Git for windows,composer,PHP和sqlite-tools-win32-x86 all 安装。

我已根据该页面上的说明定义了所有内容。

当我跑步时: $ composer global需要drupal / console:@stable

我得到了:

admin@Dxxx MINGW64 ~
$ composer global require drupal/console:@stable
Changed current directory to C:/Users/admin/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

这引导我调查作曲家设置。我跑的时候

$ composer -d

我明白了:

[RuntimeException]
  Invalid working directory specified,  does not exist.

我的作曲家安装看起来有问题。知道什么吗?

0 个答案:

没有答案