DEV Community

loading...

Discussion on: My journey to mastering React

nasreenkhalid profile image
NasreenKhalid • Edited

Really?It worked for you..wow that's amaxing but with me it still throws error, kindly refer to the attached image.
I am using Windows OS and VS Code terminal to run the firebase command

Thread Thread
shockwavee profile image
Davor Tvorić Author

If you're using a cmd.exe inside your VS Code (en.wikipedia.org/wiki/Cmd.exe), the default terminal VS Code offers you, then you probably need to add the firebase-tools to your PATH environment variable for it to recognize it.

I probably won't do a good job of explaining what it is, so you can take a look at what the PATH variable in Windows is here. Basically, you're trying to run a package you've installed via npm, but Windows doesn't know where to find that command and that's why it says "Command not found"

Here are some solutions that might help you out with that:

I think this should sort out the issue you're having, just make sure you restart your VS Code after any changes to the PATH variable

Thread Thread
nasreenkhalid profile image
NasreenKhalid

I am still trying to figure out the issue.
Thanks for your help anyways :)

Forem Open with the Forem app