Problem installing Ghost locally - Message: Command failed: yarn install --no-emoji --no-progress

The issue is that yarn (a package manager and dependency of Ghost) is unable to open a specific file -

EACCES: permission denied, open ‘/Users/Clement/.config/yarn

Try checking the permissions on the file and make make sure it’s readable