Vercel not seeing ./_generated/api
When attempting to deploy to Vercel, I am getting the error: "Module not found: Package path ./_generated/api is not exported from package"
4 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!

I'd check out what worked in other support threads. There are a few themes from what I recall: not checking in the _generated directory, having imports of the convex folder confused with imports from the convex package, etc. Providing more details about what the imports look like in those folders can help others give you tips too.
@Ian welp that was the issue lol, "having imports of the convex folder confused with imports from the convex package"