title: Object.<anonymous>...Module not found
body: <p>The below is what's in my current file(s). Being absolutely new to this field understanding documentation is key. However, I can't see what i missed as to why the "Module Not Found" error would be thrown. What am I missing?</p>
  
  <p>my date.js code file:</p>
  
  <pre><code>console.log(module);
  
  function getDate() {
  
    let today = new Date();
  
    let options = {
      weekday: "long",
      day: "number",
      month: "long",
    };
  
    let day = today.toLocaleDateString("en-US", options);
    return day;
  }
  </code></pre>
  
  <p>my required request in my app.js file:</p>
  
  <pre><code>const date = require(__dirname + "/date.js");
  </code></pre>
  
  <p>I also installed $npm install request and still threw a bug</p>