invertase / dart_edge

Run Dart on the Edge - supporting Vercel & Cloudflare Workers (more coming soon).
https://docs.dartedge.dev
Apache License 2.0
324 stars 23 forks source link

Not working as per superbase Docs #58

Open venkata-reddy-dev opened 1 year ago

venkata-reddy-dev commented 1 year ago

I have fallowed the docs of superbase to run dart edge in superbase platform. but even hello world function also not working

doc: https://supabase.com/docs/guides/functions/dart-edge

Screenshot 2023-11-07 at 7 35 07 PM
yoohoomedia commented 1 year ago

The function is being served on: http://127.0.0.1:54321/functions/v1

but your url is missing the /v1.

venkata-reddy-dev commented 11 months ago

https://github.com/invertase/dart_edge/issues/52#issuecomment-1834515475 helped me as a temporary fix

venkata-reddy-dev commented 11 months ago

Finally worked after defining edge.yml configuration as below.

supabase:
  functions:
    task1: 'lib/task1.dart'
    task2: 'lib/task2.dart'
  projectPath: "supabase"
venkata-reddy-dev commented 11 months ago

I feel need documentation for better clarity. otherwise new users of this library will get confuse.

alaincruz06 commented 11 months ago

I was getting confused already to see that I´m following every doc-tutorial step and getting Function not found. Impostor syndrome, they call it sometimes. At least until I encountered several issues discussing the same subject.

henry2man commented 6 months ago

I was getting confused already to see that I´m following every doc-tutorial step and getting Function not found. Impostor syndrome, they call it sometimes. At least until I encountered several issues discussing the same subject.

Maybe this is a duplicate of #52