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

**URL:** <https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852>\
**Category:** Installation\
**Created:** [May 19, 2021, 9:26am UTC](https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852 "2021-05-19T09:26:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clem13007](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@Clem13007](https://forum.ghost.org/u/Clem13007)\
**Post date:** [May 19, 2021, 9:26am UTC](https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852/1 "2021-05-19T09:26:30Z")

</div>

Hi everybody,

I’m facing problems installing Ghost locally on my Mac using node. I know this problem has already been talked about in this forum, but I didn’t manage to use the solutions…  
It has been several days since I have this problem and I can’t find solutions on my own. I already looked in the forum and on the internet, the solutions I found didn’t work.

I followed every steps mentionned here : [How to install Ghost locally on Mac, PC or Linux](https://ghost.org/docs/install/local/)

This morning I installed yarn using Homebrew but I keep getting the same error messages when I try to install Ghost.

**Here it is :**

MacBook-Air-de-Clement:ghost Clement$ ghost install local  
✔ Checking system Node.js version - found v14.17.0  
✔ Checking current folder permissions  
✔ Checking memory availability  
✔ Checking free space  
✔ Checking for latest Ghost version  
✔ Setting up install directory  
✖ Downloading and installing Ghost v4.4.0  
A ProcessError occurred.

Message: Command failed: yarn install --no-emoji --no-progress  
Error: EACCES: permission denied, open ‘/Users/Clement/.config/yarn’  
at Object.openSync (fs.js:498:3)  
at readFileSync (fs.js:394:35)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100892:58  
at Array.map ()  
at parseRcPaths (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100890:78)  
at Object.findRc (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100904:10)  
at getRcConfigForCwd (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:56916:74)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:92255:56  
at Generator.next ()  
at step (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:310:30)

Exit code: 1

Debug Information:  
OS: Mac OS X, v10.15.4  
Node Version: v14.17.0  
Ghost-CLI Version: 1.17.2  
Environment: development  
Command: ‘ghost install local’

* * *

**When I run ghost doctor, this is what I get : Working directory is not a recognisable Ghost installation.**

* * *

**The additional log info states this :**

Debug Information:  
OS: Mac OS X, v10.15.4  
Node Version: v14.17.0  
Ghost-CLI Version: 1.17.2  
Environment: development  
Command: ‘ghost install local’  
Message: Command failed: yarn install --no-emoji --no-progress  
Error: EACCES: permission denied, open ‘/Users/Clement/.config/yarn’  
at Object.openSync (fs.js:498:3)  
at readFileSync (fs.js:394:35)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100892:58  
at Array.map ()  
at parseRcPaths (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100890:78)  
at Object.findRc (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100904:10)  
at getRcConfigForCwd (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:56916:74)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:92255:56  
at Generator.next ()  
at step (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:310:30)

Exit code: 1

--------------- stderr ---------------  
Error: EACCES: permission denied, open ‘/Users/Clement/.config/yarn’  
at Object.openSync (fs.js:498:3)  
at readFileSync (fs.js:394:35)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100892:58  
at Array.map ()  
at parseRcPaths (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100890:78)  
at Object.findRc (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:100904:10)  
at getRcConfigForCwd (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:56916:74)  
at /usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:92255:56  
at Generator.next ()  
at step (/usr/local/lib/node\_modules/ghost-cli/node\_modules/yarn/lib/cli.js:310:30)

* * *

I really don’t know what to do. Any help would be greatly appreciated.

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [May 19, 2021, 2:59pm UTC](https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852/2 "2021-05-19T14:59:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Clem13007](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@Clem13007](https://forum.ghost.org/u/Clem13007)\
**Post date:** [May 19, 2021, 7:50pm UTC](https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852/3 "2021-05-19T19:50:39Z")

</div>

Hey @vikaspotluri123

Huge thanks for your answer. I had already try to check for the file but I couldn’t find it… Thanks to your answer I tried to look for it deeper. Ghost is now installed 🙂

Just in order to help somebody who might have the same problem in the future, here is what happened and what I did.

1. When looking for the file “/Users/Clement/.config/yarn” in Finder \> Go \> Go to folder, I had a message saying that the file didn’t exist.

2. The file is in fact hidden. In order to make hidden files appear in the finder, you have to run 2 commands in the Terminal :

```auto
defaults write com.apple.Finder AppleShowAllFiles true
[Enter]
killall Finder

```

1. Click right on .config file and select “read the information” and from there you can change the permission on the file.

* * *

Thanks again for your help.

---

<div class="post-metadata">

**Author:** ![fitwist](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/fitwist/32/10858_2.png) [@fitwist](https://forum.ghost.org/u/fitwist)\
**Post date:** [January 5, 2023, 3:53pm UTC](https://forum.ghost.org/t/problem-installing-ghost-locally-message-command-failed-yarn-install-no-emoji-no-progress/22852/4 "2023-01-05T15:53:14Z")

</div>

For Jino server restarting ‘ghost install’ several times worked. It’s may be somehow related to RAM limits.
