I got an error when adding Global events to the project

It’s not clear from the screenshot what you are doing.
Adding Global Events add-on to a CUBA project works for me.

I downloaded your project and it can’t run

Have you tried to use it in your own project as described in the docs?