[RuntimeException] in Composer
I have cloned a GitHub repository, containing a Laravel Application, into my Droplet. When I try running “composer install –prefer-dist” to pull in vendor packages, I get the following:
“[RuntimeException] Could not scan for classes inside ”/var/www/html/bookmanager/vendor/laravel/framework/src/Illuminate/Queue/IlluminateQueueClosure.ph p" which does not appear to be a file nor a folder.“
Has anyone seen this before and, if so, would you mind providing some guidance on how to resolve it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.