title: npm install axios not working in my react native app?
body: <p>I am new to developing react native app. I'm facing problem while installing axios using the command <code>npm install axios</code> in my terminal. </p>
  
  <p>I have tried below code as well to install axios library: </p>
  
  <pre><code>npm install --save axios
  npm i axiois --save
  </code></pre>
  
  <p>So what is the problem why I am not able to get dependencies in my app?</p>
  
  <p>A small request also is <code>install</code> and <code>i</code> are the same in this npm command? </p>
  
  <p><strong>UPDATE</strong><br>
  Here is the log that might help you: </p>
  
  <pre><code>npm ERR! code ETIMEDOUT
  npm ERR! errno ETIMEDOUT
  npm ERR! network request to https://registry.npmjs.org/axios failed, reason: connect ETIMEDOUT 104.16.21.35:443
  npm ERR! network This is a problem related to network connectivity.
  npm ERR! network In most cases you are behind a proxy or have bad network settings.
  npm ERR! network 
  npm ERR! network If you are behind a proxy, please make sure that the
  npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
  
  npm ERR! 
  </code></pre>
  
  <p><strong>UPDATE 2</strong><br>
  As everyone is pointing to a network problem I have tried all the answer and commentes you have provided but nothing works, but I am able to use internet on my PC easily means device in which I am running this command. </p>
  
  <pre><code>npm install axios
  </code></pre>
  
  <p>on the same device I am using browser, spotify and in terminal I just installed vlc using <code>apt-get install</code> so there is no chance of technical issue. Thank you all for help but nothing working is there any other solution? </p>