noob saibotN
Convex Community2y ago
2 replies
noob saibot

Unable to use a node package

I am creating an http action which imports the node package twilio. I'm getting a series of errors for different packages used by twilio, (e.g crypto, stream,) not found on the file system but built into node:

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.


Even when I add
use node
on top of the action file. I'm still getting this error.
Was this page helpful?