firebase-tools error: EACCES: permission denied

后端 未结 8 1678
悲&欢浪女
悲&欢浪女 2021-01-14 08:37

I am trying to deploy Firebase hosting of my web app.

At the command line, when I type firebase deploy, I get the following error.

Note: f

相关标签:
8条回答
  • 2021-01-14 09:20

    I fix it by adding sudo at the beginning of the command line!

    0 讨论(0)
  • 2021-01-14 09:22

    You can try using the --unsafe-perm flag. Just like this:

    sudo npm install -g firebase-tools --unsafe-perm
    
    0 讨论(0)
提交回复
热议问题