title: __dirname is not defined in Node 14 version
body: <p>I have been using Node version <code>12.3.4</code> updated it to 14.14.0 and started to receive a lot of issues which I fixed. The only thing that I don't understand is the issue</p>
  <pre><code>__dirname is not defined
  </code></pre>
  <p><code>__dirname</code> is a core variable in Node as I know, Is it removed in Node 14?</p>