Resolve symlink(): No such file or directory Error in Laravel

Allande Web Development Oct 31, 2018 0 Comments

If you encounter this error while running the symbolic artisan command, its mostly likely because you changed your laravel code directory which already had a symbolic link generated. To resolve this, change your current directory to the public folder then delete the storage file.

cd public

rm storage

Next go back up one directory to your laravel root directory and run the artisan command again

cd ../

php artisan storage:link

 

If you get the symlink(): Protocol error, Shutdown your command console (halt first if on vagrant) and re-open it as an administrator then run the artisan command again.

 

Blog: fxslate

Comments

    No Comments

Leave your comment

please sign in to post comments