Chad MaycumberC
Convex Community3y ago
33 replies
Chad Maycumber

Trying to run Langchain inside convex action

Hi, I'm trying to run langchain inside of a convex action and I'm running into the following error:

400 Bad Request: InvalidModules: Loading the pushed modules encountered the following
error:
Failed to analyze _deps/node/Y425MVOI.js: ENOENT: no such file or directory, open '/var/task/tiktoken_bg.wasm'

I wonder if it's something to do with the bundling? Or maybe the runtime env.

Any help with this would be great!
Was this page helpful?