Class 'Atticmedia\\Anvard\\AnvardServiceProvider' not found

Issue #17 resolved
sam ayres created an issue

I'm struggling to get the package to install, I noticed someone was having a similar issue and the solution was the package name on the front page instructions shouldn't have an hyphen.

I made this edit and I still have the same issue.

#!/var/www/litl.it$ sudo composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files
Warning: Ambiguous class resolution, "UserTableSeeder" was found in both "/var/www/litl.it/app/database/seeds/LinksTableSeeder.php" and "/var/www/litl.it/app/database/seeds/UserTableSeeder.php", the first will be used.
PHP Fatal error:  Class 'Atticmedia\Anvard\AnvardServiceProvider' not found in /var/www/litl.it/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Atticmedia\\Anvard\\AnvardServiceProvider' not found","file":"\/var\/www\/litl.it\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":123}}Script php artisan optimize handling the post-install-cmd event returned with an error



  [RuntimeException]                                                                                                                                                                                   
  Error Output: PHP Fatal error:  Class 'Atticmedia\Anvard\AnvardServiceProvider' not found in /var/www/litl.it/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123  




install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]

Any ideas on a fix? I've been following the instructions to the word.

Comments (2)

  1. Log in to comment