problem with augmented reality in website

I am new to this and I have really wanted to learn, my problem is that when compiling for export (build and run) for a website I can do but to run in a browser gives me error
any suggestions please is important

What AR package are you using, for starters? Some of them are simply not compatible with anything but mobile devices.

Also, tell us what the error is. Help us help you.