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

edge is not able to execute dart to js commands in Ubuntu [ Linux OS] [ Supabase edge functions] #62

Open venkata-reddy-dev opened 10 months ago

venkata-reddy-dev commented 10 months ago

Screenshot from 2024-01-08 10-40-58

and when i run exact command in teriminal it's working fine

dart compile js -O4 --no-frequency-based-minification --server-mode -o /home/rr-reddy/StudioProjects/milkman_edge_project/supabase/functions/task1/main.dart.js /home/rr-reddy/StudioProjects/milkman_edge_project/lib/task1.dart

serving edge functions in supabase is also not wokring

Screenshot from 2024-01-08 10-44-18

Small workaround is adding dart command with full path as below ( line no: 7)

Screenshot from 2024-01-08 10-47-39