お問い合わせ

ブログ

これまでに経験してきたプロジェクトで気になる技術の情報を紹介していきます。

【laravel】Could not scan for classes inside "~~" which does not appear to b e a file nor a folder の対処法

composerを再インストールしたくて

composer install

を実行するときに

Could not scan for classes inside "/var/www/moriyama-svrapi/vendor/phpunit/phpunit/src/" which does not appear to b e a file nor a folder 上記のエラーがでたのでその対策法について書きます。

結論

キャッシュを消す

rm -Rf vendor/
rm composer.lock
composer clear-cache
composer install

上記コマンドを叩いて キャッシュをクリアしてみてください

【laravel】Could not scan for classes inside "~~" which does not appear to b e a file nor a folder の対処法 2022-11-28 15:10:57

コメントはありません。

4834

お気軽に
お問い合わせください。

お問い合わせ
gomibako@aska-ltd.jp