Could not scan for classes inside / IlluminateQueueClosure.php

怎甘沉沦 提交于 2019-12-10 05:02:32

问题


Whenever I'm trying to composer update or delete vendor directory + composer install I am getting this error message:

 [RuntimeException]
      Could not scan for classes inside "C:\Users\Mateusz\Documents\NetBeansProje
      cts\projectname\trunk\newproject\vendor/symfony/finder/Symfony/Component/Find
      er/src/Illuminate/Queue/IlluminateQueueClosure.php" which does not appear t
      o be a file nor a folder

Well, actually I dont have this file in my project at all. Inside of /Finder directory there is no /src. Could someone advice me on what to do now please?

I am pretty much beginning programmer so it honestly sounds to me like magic. I work on a bigger project, they just told me to update my project and composer, but the composer update gives me this error.


回答1:


It seems to be a bug with older version of composer ...
Try to update composer using this command:

composer self-update

Then delete the "composer.lock" file in your root project folder directory and clear your composer cache by running:

composer clear-cache

Then re-run:

composer install



回答2:


Remove Vendor folder from your laravel project and run composer install again.



来源:https://stackoverflow.com/questions/35630965/could-not-scan-for-classes-inside-illuminatequeueclosure-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!