ashuvssut (ashu)A

Cannot resolve built-in Node's "crypto" library

    apps/convex/utils.ts:5:19:
      5 │ import crypto from "crypto";
        ╵                    ~~~~~~~~

  The package "crypto" 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 have put "use node" directive in utils.ts. still no effect.

What am i doing wrong here?
Was this page helpful?