I have this error on start if there is images in the assets/images path:
message: "[lime.utils.Preloader] ERROR: Error loading asset “images/glasses.png”
Web browsers act a little differently when running local .html files vs pages from a web server, and it often results in errors when trying to load assets at runtime. With that in mind, you should always launch any type of HTML/JS project (not just OpenFL) from a local web server instead of opening the .html file from the file system. This will ensure that you’ll see the same behavior locally as you do when deploying to production.
Using lime test html5 (or openfl test html5) is the easiest way to do that for OpenFL projects. However, you can certainly use any local web server that you prefer.