DEV Community

Discussion on: React Installation Issue

Collapse
 
ajaypatel profile image
FoodBite

If your system is windows, set your environment variable, add %SystemRoot%\system32 to your PATH I met this error yesterday,hope it works to you. Don't forget reboot you PC

Collapse
 
lokeshkarki profile image
Lokesh Karki

Hey, can you provide full path? I am confused.

Collapse
 
lokeshkarki profile image
Lokesh Karki

Thank you, it worked.

Collapse
 
amsaighi profile image
Amin SAIGHI

Hello,

I had to say thank you, I didn't find the solution, I tried all the method proposed in internet etc .. and now it work.
the question is :
before I add the environment variable, I work with angular I don't have the problem,
but when I switch to react native I get this problem why ?

and why we should add this %SystemRoot%\system32 to our PATH ?

Thank you

Collapse
 
mdmostafa15 profile image
mdmostafa15

thank you Amin SAIGHI, this is also work for me.
i added path:- C:\Windows\System32 in environment variable.

Collapse
 
mohinishteja profile image
MohinishTeja

Man,It worked without any difficulty. Thanks for the help. been trying a lot for this frompast 24 hours.

Collapse
 
mohinishteja profile image
MohinishTeja

Is it for nodejs?

Collapse
 
defaultjarr profile image
DefaultJARR

love u :D

Collapse
 
ajaypatel profile image
FoodBite • Edited

Yup
Beauty of this community is everyone is helpful when you're in trouble :)

Consider watching travery media's react crash course if you're new to react

Thread Thread
 
mohinishteja profile image
MohinishTeja

Hey can I get your contact details like mail or some chat platform ID? I need your help for learning React :-)

Thread Thread
 
ajaypatel profile image
FoodBite

Yes for sure, you can always use my email
adarshpandya0@gmail.com :)

Collapse
 
nazir021 profile image
Md. Nazir Ahmed • Edited

this is not working for me.
any help?

Collapse
 
deepanshu207_21 profile image
deepanshu singh

Open the command Prompt as Administrator and then install the packages.. It will 100% surely work.