I have no idea what causes this error to only some of the scripts that I have in my project already hosted on AWS on an Ubuntu 20.04 LTS VM. It only shows up on these specific scripts and the rest loads fine.
Screenshoot of the Console in Edge Browser
`
@vite([‘resources/js/jquery/jquery.min.js’])
@vite([‘resources/js/bootstrap/bootstrap.bundle.min.js’])
<!-- Core plugin JavaScript-->
@vite(['resources/js/jquery-easing/jquery.easing.min.js'])
<!-- Custom scripts for all pages-->
@vite(['resources/js/sb-admin-2.min.js'])
<!-- Page level plugins -->
@vite(['resources/js/datatables/jquery.dataTables.min.js'])
@vite(['resources/js/datatables/dataTables.bootstrap4.min.js'])
<!-- Page level custom scripts -->
<!-- @vite(['resources/js/demo/datatables-demo.js']) -->`
These are the problem. Before you ask, the ip address loads fine.
I tried everything on paper:
Checking connections to the server
Firewall
Vite Configuration
My own Internet connection
Those scripts are the heart and brain of my project, without them it just doesn’t work at all.