Answer the question
In order to leave comments, you need to log in
How to solve the problem when updating composer?
I update composer this way: ...\php.exe ...\composer.phar update An
error like: [RuntimeException] Could not scan for classes inside 'project folder'\vendor/phpunit/php-file-iterator/src /" which does not appear to be a file nor
a
folder
Answer the question
In order to leave comments, you need to log in
1. backup the vendor, composer.json, composer.lock folders
2. delete the vendor folder in your project.
3. run composer install (a new unbroken vendor will appear)
4. run composer update
If something went wrong, don't lose the backup)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question