Electron: jQuery is not defined

Problem: while developing using Electron, when you try to use any JS plugin that requires jQuery, the plugin doesn’t find jQuery, even if you load in the correct path using script tags. For example, <body> <p id=”click-me”>Click me!</p> … <script src=”https://stackoverflow.com/questions/32621988/node_modules/jquery/dist/jquery.min.js”></script> //jQuery should be loaded now <script>$(“#click-me”).click(() => {alert(“Clicked”)});</script> </body> Running this code above wouldn’t … Read more