Node.js error: Cannot find module require
<p>I was practicing some of my node skills with a video I was watching on youtube. I came across an error when I went to run it. it says its a throw error inside module.js:471 but I cant seem to understand why and how to fix it.</p>

<p><a href="https://i.stack.imgur.com/mk5qZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mk5qZ.png" alt="Code Screenshot"></a></p>

<p>my code is in that image since i couldn't get the code tool to work properly</p>

<p>Error:</p>

<p><a href="https://i.stack.imgur.com/Cj14b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cj14b.png" alt="Error"></a></p>