A short explanation of a wall a lot of developers hit, why it isn't going away, and the five lines that replace it.

You wrote a contact form. It worked locally. You deployed it to a Cloudflare Worker, or a Vercel Edge Function, or Deno Deploy, and got something like this:

TypeError: Class extends value #<Object> is not a constructor or null

Enter fullscreen mode

Exit fullscreen mode