Presley
Presley
CCConvex Community
Created by Joe on 5/24/2023 in #support-community
adding an http router makes undeployable
We should improve the error message when this happens.
14 replies
CCConvex Community
Created by Chad Maycumber on 4/21/2023 in #support-community
Trying to run Langchain inside convex action
Yes, such imports won’t work. Does this work in If you add “use node”? In general, all npm libraries should work in Node.js, with only unfortunate example of ones that depend on wasm files being present on the local filesystem. We plan to fix this in the future.
34 replies
CCConvex Community
Created by Chad Maycumber on 4/21/2023 in #support-community
Trying to run Langchain inside convex action
It should be. What is the error?
34 replies
CCConvex Community
Created by punn on 5/20/2023 in #support-community
Unable to build run schema validation
We are working on a fix.
7 replies
CCConvex Community
Created by punn on 5/15/2023 in #support-community
Actions execute twice
How is the action invoked? Is it scheduled or invoked from React via useAction?
14 replies
CCConvex Community
Created by magicseth on 5/2/2023 in #support-community
Help upgrading with unvalidated documents
Note you can also disable schema validation and deal with this issue separate from the upgrade.
14 replies
CCConvex Community
Created by Lord Dorkus on 5/2/2023 in #support-community
dotenv import error
Seems you functions depend on Node.js, which is not supported in queries and mutations. You can use npm libraries that depend on Node.js in actions by adding “use node”; declaration to the top of the file. See https://docs.convex.dev/functions/actions for more details.
17 replies
CCConvex Community
Created by punn on 4/22/2023 in #support-community
How do I use a module built into node?
Yeah, side effects is primary use case but they also as escape hatch to run in Node.js (or other permissive environments in the future)
7 replies
CCConvex Community
Created by punn on 4/22/2023 in #support-community
How do I use a module built into node?
Unfortunately, yes. We might add crypto in our js environment in the future.
7 replies
CCConvex Community
Created by punn on 4/22/2023 in #support-community
How do I use a module built into node?
Use an action https://docs.convex.dev/functions/actions and make it run in node - for convex 0.13.0 you to “use node”;. Prior to 0.13.0 you need to put it in /convex/actions folder.
7 replies
CCConvex Community
Created by Chad Maycumber on 4/19/2023 in #support-community
Environment Variables Limit
Yes, this is the limit. We can look into increasing it. What approximate limit would satisfy your needs?
12 replies
CCConvex Community
Created by RJ on 3/29/2023 in #support-community
Actions support for diamond dependencies
The issue was with certain module dependency graphs where the same dependency was imported via multiple paths. @RJ had a workaround where all actions were defined in each file and we have deployed a fix earlier today, that made his original code structure work. So request for './<dependency>.js' is not yet fulfilled should not happen anymore.
24 replies
CCConvex Community
Created by magicseth on 3/30/2023 in #support-community
node 18 support
I will explore whether we can do node18
20 replies
CCConvex Community
Created by RJ on 3/29/2023 in #support-community
Actions support for diamond dependencies
Btw your original code should work now. We have fixed the diamond dependency issue.
24 replies