title: Can't run my code on VSCode due to same error
body: <p>Every time I run a code on my VSCode, this error pops up.And I am not able to run any code due to this.</p>
  <p>Error:</p>
  <blockquote>
  <p>non-JS module files deprecated</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/wax02.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wax02.png" alt="enter image description here" /></a></p>
  <pre><code>    var http= require('http');
       var url='https://openweathermap.org/api/hourly-forecast#JSON';
  
      var server= http.createServer( function(request,response){
      //All logic will go here
      response.write('Hi!');
      response.end();
  
  
  
      }).listen(8080);
  </code></pre>