Issues deploying page website

Hey, I have an issue deploying my website on Cloudflare page. The website can be built, but it seems to have an issue to be deployed. Any idea?

00:25:45.431	✨ Success! Uploaded 22 files (26 already uploaded) (1.60 sec)
00:25:45.431	
00:25:45.799	✨ Upload complete!
00:25:47.143	Success: Assets published!
00:25:47.929	Error: Failed to publish your Function. Got error: Uncaught Error: Failed to get the 'origin' property on 'ServiceWorkerGlobalScope': the property is not implemented.
  at worker.mjs:17:86 in IE
  at worker.mjs:20:61 in H
  at worker.mjs:13700:9

Your code (or a library you’re using) is throwing this error, so won’t run in Workers. Can you share your code and/or a minimal reproduction?