Posts

Showing posts from November, 2020

php artisan storage:link error -> symlink(): Protocol error

  symlink(): Protocol error   at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:315     311▕      */     312▕     public function link($target, $link)     313▕     {     314▕         if (! windows_os()) {   ➜ 315▕             return symlink($target, $link);     316▕         }     317▕     318▕         $mode = $this->isDirectory($target) ? 'J' : 'H';     319▕ Error occurs when trying to link from Homestead. Solution is to run the storage:link command from the host os.  If you get The system cannot find the path specified. and it's showing you an Ubuntu path, you need to clear the config...