How to fix Composer error: "could not scan for classes inside dir"?

composer-php, installation, laravel-4, php, terminal

Solution

Usually this happens when you have some corrupted files or any composer update has crashed or interrupted.

To solve, just delete the vendor folders and run `composer install`

Problem

I'm trying to install composer in terminal by entering this command: ``` php composer.phar install ``` it starts to install required packages but I'm getting this error type: [RuntimeException] Could not scan for classes inside "app/commands" which does not appear to be a file nor a folder How can I overcome this issue?

Original source

Related problems