I'm currently having some problems with creating symlink in my Laravel project. I'm currently on Windows 10 OS
and I'm using GitBash
.
I need to create symlink from storage/app/products_content
to public/products_content
For that, I'm using the following command:
ln -s storage/app/products_content public/products_content
The problem is, I'm getting the following error:
ln: failed to create symbolic link 'public/products_content': No such file or directory
But, when I try to create a symlink like this:
ln -s storage/app/products_content products_content
It creates it with no errors, but the folder is in my root
directory, not in /public
.
What causes this error, could it be permission issues? I'm running GitBash as administrator. Any help appreciated. If I need to provide any additional code, let me know.
public
even exist? – Fiascostorage/app/products_content
=>public/products_content
, then:storage/app/public
=>public/products_content
– Fiasco