I'm trying to make an Electron-App out of my existing website. So I installed everything via npm and copied to files of my website to the electron folder.
The app start's and my first page works fine but on another page im using jquery to animate something. Here I get this error:
Uncaught TypeError: jQuery.easing[this.easing] is not a function
at init.run (C:\Users\bla\node_modules\jquery\dist\jquery.js:6710)
at tick (C:\Users\bla\node_modules\jquery\dist\jquery.js:7094)
at Function.jQuery.fx.tick (C:\Users\bla\node_modules\jquery\dist\jquery.js:7436)
at schedule (C:\Users\bla\node_modules\jquery\dist\jquery.js:6813)
I'm reffering to jquery like this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js'></script>
<script> window.$ = window.jQuery = require('jquery'); </script>
<script> window.$ = window.jQuery = require('jquery-ui'); </script>