symlink(): No such file or directory at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:315 code example

Example 1: symlink(): No such file or directory

1. Go to /public directory remove /storage folder
2. run command
	ln -s /AnotherAppName/storage/app/public/ /AnotherAppName/public/storage
	------------- OR RUN ---------------------
	php artisan storage:link

Example 2: ErrorException symlink(): No such file or directory

'links' => [
        '/var/www/storage' => storage_path('app/public'),
    ],

Tags:

Php Example