Bug report
- [X ] I confirm this is a bug with Supabase, not with my own application.
- [X ] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Using the following example project:
https://github.com/langchain-ai/langchain-template-supabase/issues/7
As stated in the issue, deploying a function using supabase with the LLMChain import does not work.
I am relaying the issue here because I am not sure on what end we have a hiccup: langchainJS, or supabase.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Clone https://github.com/langchain-ai/langchain-template-supabase/
- Install dependencies
- npx supabase start
- npx supabase functions deploy chat
Expected behavior
Edge functions should be deployed without errors
System information
- OS: Windows
- Version of supabase-js: 1.49.4
- Version of Node.js: 18.15.0
Additional context
Running the function with Deno works, but fails when running the same command as supabase CLI uses here:
https://github.com/supabase/cli/blob/main/internal/functions/deploy/deploy.go#L98
Without any clarity it seems the problem might lie in build.ts as I am able to run the script without build.ts directly using deno run?
Bug report
Describe the bug
Using the following example project:
https://github.com/langchain-ai/langchain-template-supabase/issues/7
As stated in the issue, deploying a function using supabase with the LLMChain import does not work.
I am relaying the issue here because I am not sure on what end we have a hiccup: langchainJS, or supabase.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Edge functions should be deployed without errors
System information
Additional context
Running the function with Deno works, but fails when running the same command as supabase CLI uses here:
https://github.com/supabase/cli/blob/main/internal/functions/deploy/deploy.go#L98
Without any clarity it seems the problem might lie in build.ts as I am able to run the script without build.ts directly using deno run?