jordan
jordan3mo ago

BAML

How might one use BAML with convex? I get the following Filesystem changed during push, retrying... ✔ 13:12:10 Convex functions ready! (21.61s) ⠴ Preparing Convex functions... ✘ [ERROR] No loader is configured for ".node" files: node_modules/@boundaryml/baml-darwin-arm64/baml.darwin-arm64.node node_modules/@boundaryml/baml/native.js:159:23: 159 │ return require('@boundaryml/baml-darwin-arm64') ╵ ~~~~~~~
3 Replies
Convex Bot
Convex Bot3mo ago
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!
jordan
jordanOP3mo ago
I have tried 'use node' ah nice
{
"node": {
"externalPackages": ["@boundaryml/baml"]
}
}
{
"node": {
"externalPackages": ["@boundaryml/baml"]
}
}
in convex.json
Ajay
Ajay2mo ago
Was this enough? I feel like navigating all the "use node" directives and then @boundaryml/baml-darwin-arm64 ... this didn't feel like enough. How did you approach it? @jordan

Did you find this page helpful?