How to Install React on Windows - Getting Started
Вставка
- Опубліковано 5 лют 2025
- React is a JavaScript library for building user interfaces. In this video tutorial, I will show you how to install and run your first reactjs application on Windows OS.
Click to Subscribe: bit.ly/Subscrib... & turn on notifications to find out when I upload new videos.
Website: honglytech.com
Download:
1. Visual Studio Code
code.visualstu...
2. Node.js
nodejs.org/en/
#react #reactjs #tutorial
If you are unable to install, it can be due to your computer’s name does contain a space. If so,
you can change "npm-cache" folder (hidden) to another path,
using command :
"npm config set cache C:\tmp
odejs
pm-cache --global"
Source: github.com/zkat/npx/issues/146
Thanks! That helped me
Thanks a lot!!!
Thanks man
still same problem
wow this comment helped me. thanks.
best tutorial ever . was looking for this from an hour
Thanks!
If you made your react folder in you c drive in the same directory where your Program Files are located, type "cd
eact" without the quotes in the command prompt.
yo thanks mate
thanks man
Thanks alot
For real thank you. You're a real one.
thanks
FUCKING THANK YOU DUDE!!
All the top notch tutorials skipping to the console and starting installing without giving any navigation how to choose the folder. This is a better tutorial than the so called pro's
thank you so much, you saved my life, after couple of hours trying to solve the error while using npx commande instead of npm i found your video and it worked
thanks for your tutuorial i am able work on my project.....
Thank you brother
Take a lots of love
You win my heart
thank you for step by step approach, really helpfull..
Thanks a lot man. The npx command wasn't working for some reason but the command you used worked fine .
Thank you! The issue for me was not running as an administrator.
Thank you so much ... For this video .. that what i was searching for ... 😊
Thank you very much, @Hong Ly. Finally, Super Worked out for me for my Lenovo Ideapad 320 model!
I'm happy it works for you
Thanks brother , I was stuck up with installation but you explained well and it worked for me. Thank you so much
You're welcome. I recommend you watch more React tutorials on my channel.
Please, why did you add the D: it's still not working for me
how did it work for you
Thank you so much ,I was stuck while installing using npx command. You saved me ! :)
Yo Man Thank You I been trying to install but because of you I did it easily
Good job!
Great Video easy and short.
You are genius ...💪💪💪
wow first time doing it feeling so good
Sir it's good to see your replies even after 1 year. Am facing an issue on my win 7 laptop. Whenever I run the npm setup on command prompt it only download upto 0 vulnerabilities. Could you be kind enough to guide me sir?
Same
Brilliant stuff man love it
Thanks man
Upload videos on some machine learning projects
@@jafmotorwheels9250 I’m planning to do that in the future
This was really helpful
thank you very much for this tutorial bro!
thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks best tutorial u helped me
Thanks a million ....very helpful
You’re the best, king
you are cool really simple way tnx dude
This video very helpful to me its working
best tutorial ever . thank you :)
thank u it was very helpful for me
Hello I followed your instruction to download but I am stuck at cmd prompt part unable to do it. What should I do ? In my PC I don't have local disk D, so I created the react folder in local disk C. but in cmd prompt I am unable to do it please guide me .
What error shows on cmd?
Type cd
eact
Everything to become a Frontend developer 😂😂 really help brother
Brilliant
please help
its saying it is not recognized as an internal or external command,
operable program or batch file.
thanks a lot man!
No worries!
Thank you sir🎉
Thank you it's working
If you are having a problem to run 'npm start' . Error might be 'template not provided'
try to uninstall react globally and create new react app
1. npm uninstall -g create-react-app
2. npx create-react-app reactjs
Happy coding.
Thank you bro ♥️
I have to do this everytime i want to start a new project?
Thank you! It was really helpfull
not working in my machine video at 3:10
Thanks it worked.
Can i still do this a normal command prompt? (not administrator)
Great work
How to open an existing project on react is tht the same way you opened the react file ? Help I'm noob
Thank You.Great Idea.My Problem was Solved.Thanks again
Thank You Mate :)
Good one worked perfect
Am I doing something wrong? When I try to download the react app all I get is node modules and a package.json and package-lock.json
the installation took so long time.Is that normal ?.will that be like this every time when i create react app?
Yes
thank you so much 😊
now i know i just have to run cmd in admin to avoid npm err! missing script: start 😅
Upon typing npm start im getti g errors. Anyone got an idea?
same here 💔
@@eve1881 its annoying ey?
@@collinsgodiah7293 i did not solve it yet , did u?
@@collinsgodiah7293would u like to make a contact with each other on social media ?
Thanks, it helped a lot.
yah It worked Thanks!!!❤️
hey how long does it take for this app to load cause mine is taking a really long time although my laptop is a beast
Well I would say around 1-2 minutes
@@honglytechit's taking more than 2hours
Thanks a lot it worked perfectly!!
Hey thanks! It worked. 👍👊
why did we also install node.js? what is that for?
This is the 6th or 7th tutorial that I've looked at and it just never works for me. I get the two json files and node modules but thats it.
Yeah same problem here
same bro
I found the problem just try to uninstall and re install a different version of npm maybe a previous one
Same
Thanks man
I've got an error :
Error: EEXIST: file already exists, mkdir 'C:\Users\*********'
command not found: react-app
thx, it's helping
Thank you so much sir.... Working fine...
thank you soooo muchh!
can i store react file in drive c instead, i do not have drive d in my windows
Yes, you can Matilda.
@@honglytech How?
Thank you so much
PS C:\REACT> npx create-react-app hello
'create-react-app' is not recognized as an internal or external command,
operable program or batch file.
its not working for me npm err and rollbackFailedEXceptional
Why did you add D: it's not working for me
Please explain
That’s drive D. Your computer may not have it
Thank you so much👍🏻
Thanks a lot 😊
No problem 😊
Sir npx create-react-app is not working properly only package.json and lock file is installed but not another folders and files pls help me I stucked at this issue and unable to solve and so not able to learn React pls Help me Sir 🙏🙏
What did the error show?
@@honglytech only node_modules, package.json and lock files were created but not others due to which I was unable to run react app but now problem solved
@@honglytech Way to Solve that Problem-
1. Uninstall Node Js
2. Install Node Js 32 bit whether your machine is 32 or 64 bit
3. npm rm -g create-react-app
4. npm install -g create-react-app
5. npx create-react-app app_name
@@vaibhavmishra2161 Thanks for sharing how you solved the issue.
why npm init react-apps reactjs command?
I am getting this error bro: Install for [ 'create-reactjs@latest' ] failed with code 1
Thank you 😊😊
Clean and beautiful
npx create-react-app my-app is not working
Thank you for video
so eerytime i create a new react project i have to do "npm init react-app projectname"?
yeeah you need to do it
When I tried to put the D drive but it said the system cannot find the drive specified
Do you have drive D in your machine? Most computers only have drive C by default
So what's the solution?
ahh does every framework has its own github repo?
thanks dude
Is internet require while installing packages via cmd ??
Mohan Cena yes, it is required for the installation.
Thankyou ♥
thank you very much
Thanks you!
Thank you So much .....
Thank you
I got some error like c:\perum\appdata
oaming
ppm-cache\_logs\2020-04-06T17_23_10_585Z-debug.log
im getting problem in npm start it show error
What error?
Thank You.
thanks!
Doesn't generate the src file here...
Usefull
GETTING BELOW ERROR WHILE INSTALLING.
EISDIR: illegal operation on a directory, read
Cool, whats the next video
why no narrarion?
thanks again
thanks
Thank you it still didn't work :( will try again but great tutorial!