Firebase Hosting set up issue

后端 未结 3 1799
南旧
南旧 2020-12-10 15:55

I\'m just trying to do a simple set-up for hosting on firebase. I\'m following the instructions at (https://www.firebase.com/docs/hosting/guide/deploying.html) but I\'m miss

3条回答
  •  时光说笑
    2020-12-10 16:54

    I had this exact same error. I fixed it by changing the path variable to include firebase.

    Try finding firebase.cmd on Windows through C:\Users\myname\AppData\Roaming\npm. I couldn't find firebase.exe, which is where I got confused. Looking at your screenshot, I can see where the path is saved.

    Just search for the firebase.cmd and add it to your %PATH% C:\Users\myname\AppData\Roaming\npm. Then restart and try again: firebase should be a valid command

    Sorry this is a year late and hope this helps someone.

提交回复
热议问题