latest version of clerk incompatible with convex

@clerk/nextjs: ^5.0.12 // works
@clerk/nextjs: ^5.3.0 // does not work


Specifically, npx convex dev gives me

✘ [ERROR] Could not resolve "node:async_hooks"

    node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:1:34:
      1 │ import { AsyncLocalStorage } from "node:async_hooks";
        ╵                                   ~~~~~~~~~~~~~~~~~~

  The package "node:async_hooks" wasn't found on the file system but is built into node. Are you
  trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this
  error.


I plan to switch over to convex auth anyway, but still.
Was this page helpful?