Check failed for classes inside / IlluminateQueueClosure.php

Whenever I try to composer update or remove the vendor directory + composer install , I get 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 don’t have this file at all in my project. Inside the /Finder directory there is no /src . Can someone advise me what to do now?

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

+5
source share
2 answers

It seems to be a mistake with the old version of the composer ...
Try updating the composer with this command:

 composer self-update 

Then delete the file "composer.lock" in the root directory of the project and clear the composer's cache by doing:

 composer clear-cache 

Then run:

 composer install 
+3
source

Delete the Vendor folder from the laravel project and run the composer installation again.

-1
source

Source: https://habr.com/ru/post/1243862/


All Articles