Deploying langchain on supabase
# help-and-questions
r
I was wondering if we can deploy our app with a copy of langchain installed on supabase - if so, are there any online resources to walk me through?
g
https://js.langchain.com/docs/modules/indexes/vector_stores/integrations/supabase Not sure exactly what all is involved, but glancing it just seems to need a database port to the postgres database which you have.
r
Thank you for the resources. I have a follow-up question/ issue. Following the guide from the link, I ran the cli installation code, and got this error:
Copy code
admin@AFVFHGQBRQ6L7 AIKnowledgebase % npm install -S @supabase/supabase-js
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: class-variance-authority@0.4.0
npm ERR! Found: typescript@5.0.4
npm ERR! node_modules/typescript
npm ERR!   typescript@"5.0" from the root project
npm ERR!   peerOptional typescript@">=3.3.1" from eslint-config-next@13.2.4
npm ERR!   node_modules/eslint-config-next
npm ERR!     eslint-config-next@"13.2.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@">= 4.5.5 < 5" from class-variance-authority@0.4.0
npm ERR! node_modules/class-variance-authority
npm ERR!   class-variance-authority@"^0.4.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: typescript@4.9.5
npm ERR! node_modules/typescript
npm ERR!   peerOptional typescript@">= 4.5.5 < 5" from class-variance-authority@0.4.0
npm ERR!   node_modules/class-variance-authority
npm ERR!     class-variance-authority@"^0.4.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
Can you help?
v
@ReactingMe you should consider posting this here - https://github.com/supabase/supabase/discussions . this is a discussion i am following as well and i think that forum might be a better venue for this topic