leeL
Convex Community3y ago
23 replies
lee

Could not resolve "node:crypto"

    convex/shard.ts:3:24:
      3 │ import * as crypto from 'node:crypto';
        ╵                         ~~~~~~~~~~~~~

  The package "node: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.

how can i use nodejs packages on the server side?
i see it says platform: node but i dont see this config in the dashboard
@CodingWithJamal
Was this page helpful?