I have a real problem to install locally, I’ve tried all the solutions that that there is on the forum, I found online, and I know this error appears sometimes.
OS : Mac OS Mojave (last version)
npm installed version : 6.9.0
node installed version : v10.16.0
yarn installed version : 1.16.0
homebrew is installed too
When I arrive to this command: ghost install local, it shows this:
ghost install local
Checking system Node.js version
Checking current folder permissions
Checking memory availability
Checking for latest Ghost version
Setting up install directory
Downloading and installing Ghost v2.25.6
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
error An unexpected error occurred: “EACCES: permission denied, scandir ‘/Users/matt/.config/yarn/link’”.
yarn install v1.16.0
info If you think this is a bug, please open a bug report with the information provided in “/Users/matt/Documents/ghost/versions/2.25.6/yarn-error.log”.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exit code: 1
OS: Mac OS X, v10.14.5
Node Version: v10.16.0
Ghost-CLI Version: 1.11.0
Command: ‘ghost install local’
Additional log info available in: /Users/matt/.ghost/logs/ghost-cli-debug-2019-07-12T08_19_48_146Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.
I’ve tried with the sudo command too, but still don’t run…
I had a funcional ghost local version (old version), but I did a clean re-install of my Mac recently
Any one had an idea? If so, it would be so useful, thanks a lot in advance, I have to work on a project, and I spend time just to try to fix this!