I have exactly same problem. Scripts were not starting on Chrome, I raise this issue with Microsoft last year and I was told to use Edge instead of Chrome. Problem didn't occur on Edge until they moved Edge to Chromium engine. Since several weeks I can't run macro on Edge, clearing cookies and cache do not help. What is curious scripts occasionally work on Edge on different computers with fresh installation. Also, at least right now I can run scripts using Chrome browser.
Excel scrips are amazing and much simpler than VBA but because unreliability I can't use them in my business. I lost some time learning technology and building automation only to discover that I need to redo it again in VBA to make sure that script will run.