Elementor Page Builder not working.

Hello. I have a problem with the Elementor Page Builder plugin.

I installed the plugin on my wordpress multisite that is hosted on AWS with Bitnami WP Multisite.

However, when I tried to edit a page in elementor, the page returned an 500 internal server error.

Me and my partner managed to fix that, only to be greeted with another problem.

Now, when trying to edit a page with Elementor, it shows the loading screen, but it stays stuck there.

The development console on Chrome and on Firefox return the error present in the attached image

Thank you for your time, hopefully someone will be able to shed some light on this issue.