0

I am trying to install composer but then got this Exception. How could I overcome this problem? Thanks in advance!

[RuntimeException] Could not scan for classes inside "/Users/maximprimak/Desktop/BetaSite/vendor/sebastian/code-unit-reverse-lookup/src/" which does not appear to be a file nor a folder

hassan
  • 7,812
  • 2
  • 25
  • 36
Maxim_p
  • 1
  • 1
  • 1
    well does this location even exists, and if so is it writable. – ArtisticPhoenix Nov 01 '18 at 08:51
  • 3
    Possible duplicate of [How to fix Composer error: "could not scan for classes inside dir"?](https://stackoverflow.com/questions/20595801/how-to-fix-composer-error-could-not-scan-for-classes-inside-dir) – hassan Nov 01 '18 at 08:52
  • please share your composer.json file – Emtiaz Zahid Nov 01 '18 at 08:54
  • can you please share the command that you wrote to install composer ? where do you run this command ? inside the root folder of laravel project ? – hfekher Nov 01 '18 at 09:03
  • If you have a composer.lock file try deleting it and running `composer install` again. – apokryfos Nov 01 '18 at 09:06
  • Thank you so much for the help! I solved this problem just by deleting the Vendor folder and then install the composer again. – Maxim_p Nov 03 '18 at 17:12

1 Answers1

0

You should reinstall the composer.

command :: composer install