Comments (9)
had the same issue. It looks like it's putting the functions folder in the root instead of the supabase/functions folder.
Moving the folder into the supabase folder gets the functions to work again
running the command edge build supabase_functions --dev -p supabase
also seems to work.
adding
supabase:
projectPath: "supabase"
to the yaml appears to have no effect.
from dart_edge.
I was able to get it working by adding this to the yaml:
supabase:
project_path: "supabase"
you could probably be doubly safe by adding:
supabase:
project_path: "supabase"
projectPath: "supabase"
from dart_edge.
You should see the generated code in the supabase
directory in your project... is it there?
from dart_edge.
It is there
from dart_edge.
@Ehesp @pedromassango i am also facing same issue.
from dart_edge.
@tylandercasper @pedromassango @Ehesp
Add supabase configuration in edge.yml file
supabase:
functions:
task1: 'lib/task1.dart'
task2: 'lib/task2.dart'
project_path: "supabase"
For me it got worked.
from dart_edge.
Having the same issue, this fix doesn´t work for me (or I´m using it wrong I guess), sad thing I can´t figure out the first steps just reading the docs.
Edited: somewhere, between moving the function into the supabase folder and creating/modifying the edge.yml file, it worked...shouldn´t be a tweak from the users side, but a fix from the devs side, just saying.
from dart_edge.
running the command edge build supabase_functions --dev -p supabase also seems to work.
Hi there. We're facing the same issues, but currently they are related with supabase build -p
option. The function is always transpiled to ./functions/dart_edge
instead of ./supabase/functions/dart_edge
. Any hints?
from dart_edge.
Related Issues (20)
- Support for Vercel Storage
- Runtime error when running `vercel dev`
- [BUG] Supabase: Cannot read request.body contents HOT 4
- How to fetch environment variables? HOT 2
- Send an email inside a Edge function HOT 4
- Support Firebase / GCP Cloud Functions
- How to send http request? HOT 1
- Migrate to `typings` as `js_bindings` is discontinued HOT 6
- An error occurred: NoSuchMethodError: method not found: 'constructor' on null
- Doesn't Work on Flutter Beta Channel HOT 12
- Missing Documentation
- How to use it in Docker
- Cannot use `SupabaseClient` without dart:html or dart:io in Supabase Edge functions HOT 1
- Not working as per superbase Docs HOT 6
- Can't deploy my function: Error: NotFound: No such file or directory HOT 1
- Can I create a new DART edge project within an existing Flutter project? HOT 1
- [CANT'T Compile] Cant' build on dart Dart SDK version: 3.2.0 (stable) (Tue Nov 14 18:26:59 2023 +0000) on "linux_x64" ERROR MESSAGE Compilation of the Dart entry file failed: HOT 2
- edge is not able to execute dart to js commands in Ubuntu [ Linux OS] [ Supabase edge functions]
- Cloudflare Workers not working on Dart 3.3? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart_edge.