title: Exporting Data from Google Sheets using Google Sheets API with Node.js
body: <p>I am facing problem :<br>
   I have code copied from Google Sheets <code>v4</code> API <code>Node.js</code> <a href="https://developers.google.com/sheets/api/quickstart/nodejs" rel="nofollow noreferrer">Quick start</a>, changed it a bit <code>findString()</code>,<br>
  &amp; run it in command line using <code>Cmder</code> throws Error:  </p>
  
  <blockquote>
    <p>"The API returned an error: Error: self signed certificate in certificate chain".</p>
  </blockquote>
  
  <p>Now, i could solve it permanently: using this command 
  <code>set NODE_TLS_REJECT_UNAUTHORIZED=0</code> ,<br>
   but after restarting machine i have to do it again.<br>
   My question is, what can i do not to have to enter this command every single time i restart my machine?</p>