Laravel 5.3 storage:link -> symlink(): Protocol error

前端 未结 6 685
星月不相逢
星月不相逢 2021-02-04 00:47

I\'m trying to run the following artisan command:

php artisan storage:link

I get this error:

[ErrorException] symlink(): Protocol er

6条回答
  •  一生所求
    2021-02-04 01:34

    In my case I run vagrant as Administrator and is working.

    Do not forget to vagrant halt on other machine and start new as administrator.

    php artisan storage:link
    

    Output:

    The [/home/vagrant/code/public/storage] link has been connected to [/home/vagrant/code/storage/app/public].
    The links have been created.

提交回复
热议问题