I am attempting to set up a laravel based backpack pro project environment on homestead vagrant however I am stumped at this issue Script php artisan storage:link --quiet handling the post-install-cmd event returned with error code 1 symlink():protocol error
Attempted solution
- Run git bash as administrator before vagrant ssh-ing
- manually calling php artisan storage:link
- checked the permission of the storage folder where it is
drwxrwxrwx 1 vagrant vagrant 0 Jan 22 07:22 storage

Issue was solved by following the steps as mentioned below
php artisan config:clearphp artisan cache:clearphp artisan view:clearvagrant upvagrant sshphp artisan storage:link