s2 is not a function on pnpx wrangler deploy

I'm running pnpx wrangler deploy with the following
wrangler.toml
to deploy a Nuxt 3 application from Windows 11.

Everything was working perfectly fine yesterday. I haven't found anything on google, in this discord, or as a Github issue.

Wrangler.toml:
name = "frontend-nuxt"
main = "./.output/server/index.mjs"
workers_dev = true
compatibility_date = "2023-11-12"
account_id = "REDACTED"
route = "REDACTED"

rules = [
  { type = "ESModule", globs = ["**/*.js", "**/*.mjs"]},
]

[site]
bucket = ".output/public"

[env.production]
route="REDACTED"

[vars]
BACKEND_DOMAIN="REDACTED"


Error:
X [ERROR] A request to the Cloudflare API (/accounts/REDACTED/workers/scripts/frontend-nuxt) failed.

  Uncaught TypeError: s2 is not a function
    at worker.js:27540:16
    at worker.js:27542:6
    at worker.js:33657:4
    at worker.js:33658:3
   [code: 10021]
Was this page helpful?