how do i install react native on my windows machine

Viewed 22

I am trying to run this command npx react-native init AwesomeProject

When i try to install it i get this error

error Error: Command failed: npm install --save --save-exact react-native@latest

I went online to search for the solution to this error but i was asked to clear my npm cache , i ran this code to clear the error i was unable to clear the cache as this was i got in my terminal

npm WARN using --force Recommended protections disabled.

i ran npm verify i got this error

Cache verified and compressed (~\AppData\Local\npm-cache\_cacache)
Content verified: 0 (0 bytes)
Index entries: 0
Finished in 0.016s

i tried reinstalling react native and got the same error

0 Answers
Related