For all those experiencing the following issue: https://github.com/cloudflare/workers-sdk/issues/5190, just upgrade your wrangler version to the latest version.