DEV Community

My journey to mastering React

Davor Tvorić on September 14, 2020

Let’s go back a couple of years, to a much different state in the world. When people didn’t have to stand so far apart and could freely attend soci...
Collapse
 
nasreenkhalid profile image
NasreenKhalid

Hii Davor.. I'm also going thru the phase of getting my hands dirty with React these days.. Can you please help me with one issue... Every time I try to install firebase to integrate with react, my terminal says firebase cmd not found... I don't know what should I do... Your help will be a lot to me... Thanks

Collapse
 
shockwavee profile image
Davor Tvorić

It sounds like you haven't installed or imported the Firebase package to your project/file (depending on what you use to connect to Firebase). That's why it probably says that it can't find the Firebase cmd.
You can send me a screenshot of your code and error at davor.tvoric@bornfight.com, so we can take a closer look. It would be even better if you could send me the repository of your code if you have it.

Collapse
 
nasreenkhalid profile image
NasreenKhalid

I highly appreciate your response :).
here is my github repo url: github.com/NasreenKhalid/React-Cov...
and for firebase I ran the following cmd after creating a project in my firebase console:
npm i -g firebase-tools
and after that if I run firebase login on my terminal,it always says firebase command not found
Do I have to install any other package also?

Thread Thread
 
shockwavee profile image
Davor Tvorić

Oh, I see now. I don't think you have to install anything else, it worked for me just by running the command you pasted here.

Which OS/terminal are you using?

Thread Thread
 
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ć

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 :)

Collapse
 
jacobandersen profile image
Jacob Andersen

The resources you mention are all excellent. For an excellent FREE introduction to React, please check out youtube.com/playlist?list=PL4cUxeG...

The Net Ninja channel on YouTube is a gold mine of web development tutorials.

Collapse
 
shockwavee profile image
Davor Tvorić

Awesome, I'm always looking for more resources, I'll definitely check it out! Thanks

Collapse
 
rifath profile image
Rifat hossain

This tutorial is old. I want to learn react but cannot find current time tutorial. Shoutout to netninja, He taught me js.

Collapse
 
sathvikpurush profile image
Sathvik • Edited

Shout-out to net ninja. I started my react journey through his tutorials.

Collapse
 
alekswritescode profile image
Aleks Popovic

There really is no replacement for actually creating something from nothing and getting your hands dirty, as you say. I've never used Vue, but I wish you all the best with whatever side you choose. :)

Collapse
 
shockwavee profile image
Davor Tvorić

Easily the best method to learn something :D
Thank you for the kind words, I appreciate it :)

Collapse
 
rifath profile image
Rifat hossain

Very Nice article. I do php/laravel backend. i wanted to learn react and went through some of the step you did and never learned it properly.

Collapse
 
shockwavee profile image
Davor Tvorić

Thank you for the response!

I know the feeling, unfortunately. Fingers crossed you'll pick it back up again if you'll need it :)

Collapse
 
rifath profile image
Rifat hossain

in our case. necessity is the mother of learning. xD

Thread Thread
 
shockwavee profile image
Davor Tvorić

Very true :D

Collapse
 
shockwavee profile image
Davor Tvorić

That may happen, unfortunately. The chances of that are increasing proportionally to the number of constraints that are set upon us (e.g., using an older version of a software, the architecture of the system...). That's just something we have to deal with it or make a change in the global scope of things, if possible, wouldn't you agree?

Collapse
 
maulik profile image
Maulik

Great article Davor. Totally agree with you about willing to get your hands dirty.

Collapse
 
numismath3 profile image
Makgabo

Thanks for thie motivational article as I'm about to start learning React, for my assignments and side projects. It will be helpful.

Collapse
 
shockwavee profile image
Davor Tvorić

Good luck! Just keep pushing and don't let anything weigh you down and you're golden! :)

Collapse
 
andrewbaisden profile image
Andrew Baisden

Welcome to the community all new React devs :)

Collapse
 
ialim profile image
ialim

This was a good read and very inspiring. Thanks for this

Collapse
 
zubairyar profile image
Zubair Yar

Thank you so much for sharing your experience with us.

Collapse
 
developerkaren profile image
Karen Efereyan

This was beautiful Davor. Thanks for sharing. I've starred the book repo. I'll be sure to look at the code if I have issues understanding it and shoot you an email.

Collapse
 
shockwavee profile image
Davor Tvorić

Thanks a bunch, DeveloperKaren!

By all means, I'll help out as much as I can!

Collapse
 
xtineroq profile image
Christine Roque

This is a gem ✨ I’m currently learning React and all resources you shared are tremendously helpful! Will definitely reach out if I need any help.

Collapse
 
shockwavee profile image
Davor Tvorić

Thanks a lot, I'm glad I could help, even with the resources!
Of course, I'll do my best to help out as much as I can :)

Collapse
 
hamxasdk profile image
Hamza Ashraf

Hello Sir, can you tell us how to improve react (or any other) problem solving skills?