Last Updated: February 25, 2016
·
1.302K
· rizwaniqbal

Delete Manifest in Bassets and Rebuild Collections

There is a nifty little command to rebuild all your collections in Basset.

php artisan basset --delete-manifest

Now, to rebuild all your collections from basset config, you punch in the usual:

php artisan basset:build

This will build all collections. To build a particular collection you can give its name as the last parameter

php artisan basset:build admin

However, doing this Basset throws an error, stating it cannot read the rebuilt collection.json file in app/storage/meta.

Laravel Basset Build Error

You can get around this, by modifying perms manually through the terminal

chmod -R 777 app/storage/meta