eahlys / EdPaste

Laravel/PHP-driven Pastebin with users management
MIT License
38 stars 14 forks source link

Method Illuminate\Foundation\ComposerScripts::postAutoloadDump is not callable, can not call post-autoload-dump script #9

Closed vrumger closed 5 years ago

vrumger commented 5 years ago

Versions

PHP 7.2.10 Composer 1.8.0

Steps

$ git clone https://github.com/Edraens/EdPaste.git
$ cd EdPaste/
$ 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.
...
Generating autoload files
Method Illuminate\Foundation\ComposerScripts::postAutoloadDump is not callable, can not call post-autoload-dump script
> @php artisan package:discover

  [Symfony\Component\Console\Exception\CommandNotFoundException]  
  There are no commands defined in the "package" namespace.       

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
vrumger commented 5 years ago

I ran composer update and ignored it's error and it worked.