Action using twilio won't compile
I'm using "use node" as shown in the docs but i still get a node compilation error. any tips?

7 Replies
Is there another, non-"use node" file that imports this one? Only other "use node" files should import "use node" files.
How can i respond to a http request using a node library, if functions cannot use node or import node actions?
@ballingt same problem here
are @json any non-"use node" files importing "use node" files?
Yes, the convex http functions
that can't "use node"
You'll need to use ctx.runAction(api.thatFile.foo, {}) to switch runtimes, you can't call those functions directly or import from those files in http.ts.
Thanks, it worked! 👍