Reputation: 1
I did a fresh install of Laravel and Laratrust.
I enabled the Laratrust Panel and when I went to it I got the following... Screenshot of Error Message
Other solutions I found said to do npm install and npm run dev or npm run production. These did not help. Any ideas?
Upvotes: 0
Views: 948
Reputation: 1
You can run it from the project folder on your server if you use Docker with Sail.
First:
./vendor/bin/sail php artisan vendor:publish --tag=laratrust-assets --force
Second:
./vendor/bin/sail php artisan vendor:publish --tag="laratrust"
You can run it from the project folder on your server.
First:
php artisan vendor:publish --tag=laratrust-assets --force
Second:
php artisan vendor:publish --tag="laratrust"
Upvotes: 0
Reputation: 11
I did solve this problem!
You need to write command
php artisan vendor:publish --tag=laratrust-assets --force
before or instead
php artisan vendor:publish --tag="laratrust"
Upvotes: 1