Homestead Composer install 擴充套件 所有的 bin/*的都安裝失敗

zenil8發表於2020-07-08

homestead 版本 10.0.0-beta.1
vagrant 版本 2.2.9

composer install 的時候 總是報錯

[RuntimeException]
  Could not scan for classes inside "/home/vagrant/Code/blog/Blog-Backend/vendor/phpunit/php-code-coverage/src/" which does not appear to be a file nor a folder

還有關於所有的bin下面的安裝都會跳過

  - Installing nesbot/carbon (2.36.1): Loading from cache
   ` Skipped installation of bin bin/carbon for package nesbot/carbon: file not found in package`
  - Installing monolog/monolog (2.1.0): Loading from cache
  - Installing league/flysystem (1.0.69): Loading from cache
  - Installing league/commonmark (1.5.1): Loading from cache
    `Skipped installation of bin bin/commonmark for package league/commonmark: file not found in package`
  - Installing laravel/framework (v7.19.0): Loading from cache
  - Installing fideloper/proxy (4.4.0): Loading from cache
  - Installing asm89/stack-cors (v2.0.1): Loading from cache
  - Installing fruitcake/laravel-cors (v2.0.1): Loading from cache
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.6.1): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.5.5): Loading from cache
  - Installing nikic/php-parser (v4.6.0): Loading from cache
    `Skipped installation of bin bin/php-parse for package nikic/php-parser: file not found in package`
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
  - Installing psy/psysh (v0.10.4): Loading from cache
    `Skipped installation of bin bin/psysh for package psy/psysh: file not found in package`

有大知道怎麼回事嗎?

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章