A clear and concise description of what the bug is.
Steps to reproduce the behavior:
php artisan voyager:install --with-dummyAdding the storage symlink to your public folder
In Filesystem.php line 228:
symlink(): Protocol error
I expected it to finish the installation smoothly.
I read that this might be due to the public path being different than public/, but I never changed it. I run Laravel locally via Homestead (Vagrant and Virtualbox).
That is pretty strange. I usually use Valet.
Just to narrow down the issue... You are SSH'd into your vagrant machine when you run the install command, correct?
Have you installed Valet before?
I used to use Homestead and after I moved to Valet, I've never looked back 馃憤
Figured it out! So for someone who might need this in the future:
This issue happens when you try to create symlinks from the Ubuntu VM, but the files will reflect on the Windows machine. You don't normally have permissions to create these files on Windows without administrator permissions.
These steps fix the issue:
vagrant halt the VM if it's runningvagrant upvagrant ssh into the VM and cd into your project with Voyagerphp artisan storage:linkYou should get a success message and the error that I got shouldn't appear.
@tnylea I'd love to use Valet, but sadly it's unavailable for Windows.
Same here, not everybody uses a Mac
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
Figured it out! So for someone who might need this in the future:
This issue happens when you try to create symlinks from the Ubuntu VM, but the files will reflect on the Windows machine. You don't normally have permissions to create these files on Windows without administrator permissions.
These steps fix the issue:
vagrant haltthe VM if it's runningvagrant upvagrant sshinto the VM andcdinto your project with Voyagerphp artisan storage:linkYou should get a success message and the error that I got shouldn't appear.
@tnylea I'd love to use Valet, but sadly it's unavailable for Windows.