Error: No identifier accessible

Hi all,
New to fuse and love it !
i am using a Modal package
file

and creating a global for it in MainView.ux
file

when i build the app, i keep getting this error

i tried adding “using Bolav.Modal;” without success. Any suggestions? what am i doing wrong?

We are not declaring JavaScript libraries as globals in UX for a good while now; this approach was deprecated months ago.

Please check the example in that repository, which uses require() to include the bundled library. If the problem persists, I suggest you raise an issue on that repository for the author to see.

Thanks Uldis.
I have in main.js

and in my unoproj

It seems that according to this post: https://github.com/bolav/fuse-modalview/issues/3
i have to remove the “Excludes”. I will give it a try.
Thanks again.