0

I am new to laravel 11. and I am getting error "Target class does not exist" while I cloned project from git. Same project in another folder is working fine. Can anyone suggest what could be the reason? The only difference I can find is while doing composer dump-autoload the working project is showing "Generated optimized autoload files containing 6775 classes" while other is showing "Generated optimized autoload files containing 6773 classes".. Thanks in advance...

enter image description here

enter image description here

3
  • Are you sure your problem is in any way related to Composer itself? Commented Feb 10 at 7:52
  • I think so. Because all files are exactly same as the working folder. Commented Feb 11 at 15:20
  • How does "All files are exactly same" make this problem related to Composer? To me, it looks like artisan package:discover might be to blame? The screenshots you've shared don't show any obvious problems either (they don't even contain the error message) Commented Feb 11 at 15:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.