0

While installing Laravel Spatie using the following command:

composer require spatie/laravel-permission 

the following error in displayed:

Click here to show the error

How can I solve my problem to install Laravel Spatie ?

I tried to install the package via composer as follows:

composer require spatie/laravel-permission 

The steps of installation in the following page

https://spatie.be/docs/laravel-permission/v5/installation-laravel

And I can't expect how to solve it?

apokryfos
  • 38,771
  • 9
  • 70
  • 114

1 Answers1

0

As the error says one thing to check for is any unexpected whitespace, for example:
Verify it from .env file

FIELD=some value vs FIELD="some value"

rozsazoltan
  • 2,831
  • 2
  • 7
  • 20