error installed react native using npx react native init

C++
follow this step by step

1.npm clean cache --force
2.npm i npm -g
Source

Also in C++: