Not able to request global modules
<p>I have installed two modules globally which are discord.js and request. When I do <code>npm list -g</code>, I seem them in there. When I go to my project folder and fire up a command prompt, I type <code>node app.js</code> and it says it cannot find discord.js, why is this? I had just reinstalled Windows and this was working perfectly before the reinstall.</p>