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

edge build supabase_functions doesn't work #36

Open
solid-danylokhvan opened this issue May 4, 2023 · 4 comments · May be fixed by #63
Open

edge build supabase_functions doesn't work #36

solid-danylokhvan opened this issue May 4, 2023 · 4 comments · May be fixed by #63

Comments

@solid-danylokhvan
Copy link

pubspec.yaml:

environment:
  sdk: ">=2.18.5 <3.0.0"

dependencies:
  edge: ^0.0.6
  edge_http_client: ^0.0.1+1
  supabase: ^1.6.3
  supabase_functions: ^0.0.1+1
dependency_overrides: 
  edge:
    git:
      url: https://github.com/invertase/dart_edge.git
      ref: main
      path: packages/edge
  supabase_functions:
    git:
      url: https://github.com/invertase/dart_edge.git
      ref: main
      path: packages/supabase_functions

I can not make a build with the command edge build supabase_functions after the recent fix still

@MichealReed
Copy link

I noticed this, it builds if you add --dev

edge build supabase_functions --dev

@solid-danylokhvan
Copy link
Author

I noticed this, it builds if you add --dev

edge build supabase_functions --dev

Yes, but I expect from edge build supabase_functions command that we will be able to set the name of the edge function ourselves when we build. I need it because I want to upload changes via CI/CD to supabase. I want to work with this way of creating edge functions in production, although the package is experimental

@Mukhtor13
Copy link

same issue, 'edge build supabase_functions --dev' command doesn't work. I installed necessary things. how to run this command.

@venkata-reddy-dev
Copy link

Try creatingedge.ymlfile with below content

supabase:
  projectPath: "supabase"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants