Build error that doesn't make much sense

I am building my first Cloudflare Pages website and trying to deploy it.

Not sure if this matters, but I build the site in Astro.build.

When Cloudflare builds my preview branch everything goes great until the very end. Here are the last few lines of the build log:

05:31:44.461	09:31:44 AM [build] Server built in 13.44s
05:31:44.461	09:31:44 AM [build] Complete!
05:31:44.506	Finished
05:31:45.065	🚧 'wrangler pages <command>' is a beta command. Please report any issues to https://github.com/cloudflare/wrangler2/issues/new/choose
05:31:45.259	▲ [WARNING] This case clause will never be evaluated because it duplicates an earlier case clause [duplicate-case]
05:31:45.259	
05:31:45.259	    ../../../buildhome/repo/functions/[[path]].js:81:29786:
05:31:45.260	      81 │ ...{case"currentTime":i=Ns.ms(i);case"currentTime":case"playbackRa...
05:31:45.260	         ╵                                  ~~~~
05:31:45.260	
05:31:45.260	  The earlier case clause is here:
05:31:45.260	
05:31:45.260	    ../../../buildhome/repo/functions/[[path]].js:81:29757:
05:31:45.260	      81 │ ...())}},set:(e,t,i)=>{switch(t){case"currentTime":i=Ns.ms(i);case...
05:31:45.261	         ╵                                  ~~~~
05:31:45.261	
05:31:45.522	▲ [WARNING] This case clause will never be evaluated because it duplicates an earlier case clause [duplicate-case]
05:31:45.522	
05:31:45.523	    ../../../buildhome/repo/functions/[[path]].js:81:29786:
05:31:45.523	      81 │ ...{case"currentTime":i=Ns.ms(i);case"currentTime":case"playbackRa...
05:31:45.523	         ╵                                  ~~~~
05:31:45.524	
05:31:45.524	  The earlier case clause is here:
05:31:45.524	
05:31:45.524	    ../../../buildhome/repo/functions/[[path]].js:81:29757:
05:31:45.524	      81 │ ...())}},set:(e,t,i)=>{switch(t){case"currentTime":i=Ns.ms(i);case...
05:31:45.525	         ╵                                  ~~~~
05:31:45.525	
05:31:45.610	1 warning(s) when compiling Worker.
05:31:45.629	Validating asset output directory
05:31:46.494	Deploying your site to Cloudflare's global network...
05:31:53.054	Success: Assets published!
05:31:53.969	Error: Failed to publish your Function. Got error: Uncaught ReferenceError: HowlerGlobal is not defined
  at worker.mjs:12212:7
  at worker.mjs:12345:6
  at worker.mjs:11558:215
  at worker.mjs:30875:14
  at worker.mjs:25:37
  at worker.mjs:38627:3
  at worker.mjs:25:37
  at worker.mjs:41940:1