Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Error - supabase: not found #953

Closed
4 tasks done
taylor-schneider opened this issue Apr 11, 2024 · 2 comments
Closed
4 tasks done

Installation Error - supabase: not found #953

taylor-schneider opened this issue Apr 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@taylor-schneider
Copy link
Contributor

Description

I cloned the repo and checked out v0.2.28. When I try to follow the installation instructions using docker compose I am unable to get the superagent-ui@0.0.1 image to run. I see the following output in the logs for the container

(base) [root@fedora .docker]# docker logs -f superagent-ui

> superagent-ui@0.0.1 supabase:docker:push
> supabase db push --db-url ${SUPABASE_DB_URL}

sh: 1: supabase: not found
(base) [root@fedora .docker]# docker exec -ti superagent-ui /bin/bash
Error response from daemon: Container b89a6228b3a81118eb2b2a7eb5e824768425b7964f660868cf5ce04b0c6a3849 is not running

Steps to reproduce

  1. Clone repo
  2. Checked out v0.2.28
  3. Configure the hosts file
  4. Follow the instructions to deploy supabase, langfuse, vector store
  5. Follow the instructions to deploy superagent (i.e. invoke run.sh)

Acknowledgements

  • My issue title is concise, descriptive.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of superagent.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.
@taylor-schneider taylor-schneider added the bug Something isn't working label Apr 11, 2024
@suyashSax
Copy link

suyashSax commented Apr 12, 2024

Ran into the same issue and fixed it by adding npx before the supabase commands in libs/ui/package.json like:

    "supabase:local:start": "npx supabase start && supabase status",
    "supabase:local:migrate": "npx supabase migrations up",
    "supabase:cloud:login": "npx supabase login",
    "supabase:cloud:link": "npx supabase link",
    "supabase:cloud:push": "npx supabase db push",
    "supabase:docker:push": "npx supabase db push --db-url ${SUPABASE_DB_URL}",

@taylor-schneider
Copy link
Contributor Author

@suyashSax that resolved the issue. I will submit a PR with the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants