Skip to content
Advertisement

“Could not scan for classes inside” error when trying to load a Github repository through composer

I am trying to autoload a Github repository with the following config in the composer.json file

JavaScript

When run composer update/dumpautoload, I get the following error:

JavaScript

Am I missing any specific configuration for the autoload, because “classmap”, “psr-0” or any other configuration doesnt work.

Thanks for the help.

PS: the source files exist i “project1/vendor/
webdevstudios/taxonomy-single-term/”. Not sure why I am getting the extra “taxonomy-single-term”.

Advertisement

Answer

I was able to resolve the issue. Deleted the vendor folder and composer.lock and ran composer install again. This time everything loaded properly.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement