ayy_chemixd
ayy_chemixd

Reputation: 113

jetstream not updating features (on config/jetstream.php)

I am following a jetstream tutorial and in it says that, in order to add some jetstream features, you should uncomment some lines and it should update automatically. in this part of jetstream.php:

/*
|--------------------------------------------------------------------------
| Features
|--------------------------------------------------------------------------
|
| Some of Jetstream's features are optional. You may disable the features
| by removing them from this array. You're free to only remove some of
| these features or you can even remove all of these if you need to.
|
*/

'features' => [
    Features::termsAndPrivacyPolicy(),
    Features::profilePhotos(),
    Features::api(),
    Features::teams(['invitations' => true]),
    Features::accountDeletion(),
],

As you can see, I have uncommented everything and yet my login page of jetstream does not update accordingly. the features such as profilephoto are not there. what could be causing this?

Upvotes: 0

Views: 502

Answers (2)

Cheikh Saliou TALLA
Cheikh Saliou TALLA

Reputation: 325

I had this same problem, with a laravel jetStrean project. To make the features appear, i had to clean the memory caching: Here are the commands that solved my problem:

php artisan cache:clear
php artisan view:cache
php artisan optimize:clear

Past them into your terminal. Enjoy

Upvotes: 0

Héctor William
Héctor William

Reputation: 796

I think every feature requires some steps after, for example the Features::profilePhotos() requires to run:

php artisan storage:link

this creates a symbolic link in you app to store those files.

Check the details required for each feature in the documentation, you can start with the Profile Photo.

Upvotes: 2

Related Questions