You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an error when attempting to install the abdelhamiderrahmouni/shopper-framework package. The installation process completes without any issues, but during the autoload dump, I receive an error indicating that the Spatie\LaravelPackageTools\PackageServiceProvider class is not found.
Steps to Reproduce:
Run composer require abdelhamiderrahmouni/shopper-framework -W
Observe the output
Expected Result:
The package should be installed successfully without any errors, and the ShopperServiceProvider should be properly registered.
Actual Result:
The installation process completes, but the following error is encountered during the autoload dump:
In ShopperServiceProvider.php line 29:
Class "Spatie\LaravelPackageTools\PackageServiceProvider" not found
Composer Output:
composer require abdelhamiderrahmouni/shopper-framework -W
./composer.json has been updated
Running composer update abdelhamiderrahmouni/shopper-framework --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
In ShopperServiceProvider.php line 29:
Class "Spatie\LaravelPackageTools\PackageServiceProvider" not found
Environment:
PHP version: 8.2
Laravel version: 10.48
Shopper v2.0.0-beta8
Additional Information:
I attempted to manually install spatie/laravel-package-tools, but it led to a series of dependency requests for other packages in a specific order. This indicates a potential issue with the dependency resolution in the composer.json of the shopper-framework package.
Manual Installation Attempt:
When trying to install spatie/laravel-package-tools manually, Composer requested additional packages in the following order:
composer require spatie/laravel-package-tools
composer require [next-package]
...
The text was updated successfully, but these errors were encountered:
I encountered an error when attempting to install the
abdelhamiderrahmouni/shopper-framework
package. The installation process completes without any issues, but during the autoload dump, I receive an error indicating that theSpatie\LaravelPackageTools\PackageServiceProvider
class is not found.Steps to Reproduce:
composer require abdelhamiderrahmouni/shopper-framework -W
Expected Result:
The package should be installed successfully without any errors, and the
ShopperServiceProvider
should be properly registered.Actual Result:
The installation process completes, but the following error is encountered during the autoload dump:
Composer Output:
Environment:
Additional Information:
I attempted to manually install
spatie/laravel-package-tools
, but it led to a series of dependency requests for other packages in a specific order. This indicates a potential issue with the dependency resolution in thecomposer.json
of theshopper-framework
package.Manual Installation Attempt:
When trying to install
spatie/laravel-package-tools
manually, Composer requested additional packages in the following order:composer require spatie/laravel-package-tools
composer require [next-package]
The text was updated successfully, but these errors were encountered: