title: node.js: require json file returns MODULE NOT FOUND
body: <p>I'm trying to store a json array to a variable, but node.js return this error: <code>{ Error: Cannot find module 'jokes.json'</code></p>
  
  <p>Here is my code:</p>
  
  <pre><code>let jsonData = require('jokes.json');
  var jokes = jsonData.jokes;
  </code></pre>
  
  <p>The jokes.json file is in the same directory as the javascript file</p>