title: Why does react-native uinstall after running react-native command to install a package?
body: <p>I installed react-native globally and confirmed installation on Windows 10. Then I ran react-native command in PowerShell to install materials-kit and vector-icons. The installation of these packages failed and the directory is no longer considered a react-native project directory. I have to reinstall react-native as a result.</p>
  
  <p>How can I install materials-kit and vector-icons without causing the system to uninstall react-native?</p>
  
  <p><b>Steps Taken</b></p>
  
  <p>I ran the below code in PowerShell. <b>Please Note:</b> I also used MS Visual Code and the Terminal in MS Studio Code.</p>
  
  <p><b>Input</b>
  <p>npm install -g react-native-cli
  <p>react-native -version</p>
  
  <p><b>Output</b>
  <p>react-native-cli: 2.0.1
  <p>react-native: 0.59.5</p>
  
  <p><b>Additional Input</b>
  <p>npm install --save react-native-material-kit react-native-vector-icons
  <p>react-native -version</p>
  
  <p><b>Additional Ouput</b>
  <p>react-native-cli: 2.0.1
  <p>react-native: n/a - not inside a React Native project directory</p>
  
  <p>I was expecting these two react-native packages to be installed. Did not happen.</p>
  
  <p><b>Extra Information: Error Code Snippet</b>
  <p>...
  <p>npm ERR! code EPERM
  <p>npm ERR! errno -4048
  <p>npm ERR! syscall rename
  <p>...
  <p>npm ERR! The operation was rejected by your operating system.
  <p>npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
  <p>npm ERR! or that you lack permissions to access it.</p>