Resend component in monorepo
I'm struggling to get the Resend component to work in
I'm getting this error:
This is the content of convex.config.ts:
Appreciate any help!
5 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Just FYI, I won't be able to spend a ton of time on this now (I'm at the start of my workday), but I'll pop in when I can.
For starters, what version of Convex are you using? Any issues reported when you run
npx convex dev?
(aside from the one that started this thread)
Speaking of which, where exactly are you seeing that error?I was using 1.26.2, but just updated to 1.27.5, but this did not resolve the issue.
I see the error in the terminal when running
npx convex dev. No other errors.Could you share the code snippet from the file where you're trying to use the component?
I wasn't importing it correctly: this is how it needs to be imported:
import { components } from "../_generated/api";
This should fix it. Thank you for your help!