invertase/dart_edge

edge build supabase_functions doesn't work

Opened this issue · 4 comments

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

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

edge build supabase_functions --dev

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

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

Try creatingedge.ymlfile with below content

supabase:
  projectPath: "supabase"