title: I couldn't implement requireJs to my node-cron project
body: <p>I create a basic node project with a html file. I created this basic js including node-cron:</p>
  <pre><code>const cron = require('node-cron')
  cron.schedule('* * * * * *', () =&gt;{
      console.log('Hello world')
  })
  </code></pre>
  <p>I basically need to log 'Hello world' every second.</p>
  <p><code>Uncaught ReferenceError: require is not defined at index.js:1:14</code></p>
  <p>I see that i need to implement requireJs to my project, i did search in <a href="https://requirejs.org/docs/node.html" rel="nofollow noreferrer">https://requirejs.org/docs/node.html</a> website but i couldn't figure out how to do it. I need help.</p>