0

I was working with cloud function and It was doing great. Then I want to compile java program and install another extention on vscode.

*notes : I changed my PATH

But now, if I want to firebase deploy my cloud function its going like this

Screen Shot

This is my firecast folder

Screen Shot

enter image description here

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807

2 Answers2

1

It seems like firebase.exe command is not in you PATH

If you have installed firebase-tool with global (-g) you should have firebase.exe in your %HOMEPATH%\AppData\Roaming\npm folder.

Otherwise you have installed it local when you did it. But I suggest you to reinstall firebase tools with (-g) option and give it a try.

Then try also where firebase to see if now it could be find in your PATH.

shadowsheep
  • 14,048
  • 3
  • 67
  • 77
1

Do it using npm it is much simpler

1) npm i -g firebase-cli

2) firebase login

3) firebase init

4) to run local test its firebase serve --only functions,hosting     
(if use using hosting)

5) firebase deploy
Snivio
  • 1,741
  • 1
  • 17
  • 25