Kalhara Tennakoon
Kalhara Tennakoon

Reputation: 1482

I cannot run firebase commands in my terminal

I installed firebase using sudo npm install -g firebase-tools command on my Mac. Then I try to run firebase -v, it gives the below error.

Error: EACCES: permission denied, open '/Users/randiltennakoon/.config/configstore/firebase-tools.json'
You don't have access to this file.

Upvotes: 1

Views: 159

Answers (1)

Kalhara Tennakoon
Kalhara Tennakoon

Reputation: 1482

While I was searching regarding this issue, I found this webpage.

So, according to that, I ran sudo chown -R $USER ~/.config/configstore on my terminal & it fixed my issue. Now I can see the firebase version using the firebase -V command.

Upvotes: 1

Related Questions