title: server is giving Error: ENOENT: no such file or directory, stat 'F:\web development\calculator \index.html '
body: <pre><code>app.get(&quot;/&quot; ,function(req,res){
     //  console.log(req)
     console.log(__dirname + '/index.html ');
     res.sendFile(__dirname + '/index.html ');
  });
  </code></pre>
  <p>The server and html is in same directory but when server is started it gives me the following Error:</p>
  <blockquote>
  <p>ENOENT: no such file or directory, stat 'F:\web development\calculator \index.html '</p>
  </blockquote>