无法扫描/IlluminateQueueClosure.php中的类 [英] Could not scan for classes inside / IlluminateQueueClosure.php

查看:57
本文介绍了无法扫描/IlluminateQueueClosure.php中的类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试composer update或删除供应商目录+ composer install时,我都会收到以下错误消息:

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

嗯,实际上我的项目中根本没有此文件.在/Finder目录内没有/src.有人可以建议我现在该怎么做吗?

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.

推荐答案

较早版本的composer似乎是一个错误...
尝试使用以下命令更新作曲家:

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

composer self-update

然后删除根项目文件夹目录中的"composer.lock"文件,并通过运行以下命令清除作曲家缓存:

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

composer clear-cache

然后重新运行:

composer install

这篇关于无法扫描/IlluminateQueueClosure.php中的类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆