Closed gan068 closed 8 years ago
It's fixed in 1.3.15
Laravel 5.1 LTS can not using version 1.3.15
Just a note that 1.3.11 installation similarly fails on a fresh Laravel 5.0.33 instance. After adding 1.3.11 as a requirement in composer.json
, running composer update
yields:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
- Installing gregwar/captcha (v1.0.11): Downloading (100%)
- Installing jacopo/authentication-sentry (1.0.1): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing intervention/image (2.4.1): Downloading (100%)
- Installing illuminate/html (v5.0.0): Downloading (100%)
- Installing jacopo/laravel-authentication-acl (1.3.11): Downloading (100%)
jacopo/authentication-sentry suggests installing happydemon/txt (Required Text helpers when using the Kohana implementation)
intervention/image suggests installing ext-imagick (to use Imagick based image processing.)
intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.
Writing lock file
Generating autoload files
Warning: Ambiguous class resolution, "CreateUsersTable" was found in both "$baseDir . '/database/migrations/2014_10_12_000000_create_users_table.php" and "/home/<user>/public_html/vendor/jacopo/laravel-authentication-acl/database/migrations/2014_02_19_095545_create_users_table.php", the first will be used.
Warning: Ambiguous class resolution, "CreatePasswordResetsTable" was found in both "$baseDir . '/database/migrations/2014_10_12_100000_create_password_resets_table.php" and "/home/<user>/public_html/vendor/jacopo/laravel-authentication-acl/database/migrations/2014_10_12_100000_create_password_resets_table.php", the first will be used.
[RuntimeException]
Could not scan for classes inside "/home/<user>/public_html/vendor/jacopo/authentication-sentry/src/migrations" which does not appear to be a file nor a folder
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
(composer install
yields the same error, IIRC.)
Therefore:
A workaround is to run mkdir /home/<user>/public_html/vendor/jacopo/authentication-sentry/src/migrations
and then re-run composer install
.
Could not scan for classes inside "acl\vendor/jacopo/authenticati on-sentry/src/migrations" which does not appear to be a file nor a folder