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

Need a way to set flags for Deno #205

Open
2 tasks done
vincaslt opened this issue Nov 8, 2023 · 4 comments
Open
2 tasks done

Need a way to set flags for Deno #205

vincaslt opened this issue Nov 8, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@vincaslt
Copy link

vincaslt commented Nov 8, 2023

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Some Deno features are locked behind an --unstable flag. There doesn't seem to be a way to set it for edge functions.

This is a recreated issue that was registered for supabase CLI: supabase/cli#1139

To Reproduce

Unable to use Deno.createHttpClient() because it's behind an --unstable flag. When serving the function the function is said to be missing.

Expected behavior

A way to set Deno flags or support for unstable features.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: Windows
  • Version of supabase-js: 1.110.1
  • Version of Node.js: v18.17.1
@zlumer
Copy link

zlumer commented Mar 12, 2024

Here's a link to the list of unstable Deno features: https://docs.deno.com/runtime/manual/tools/unstable_flags

Examples include Deno.cron() and Deno KV.

@predragcvetkovski
Copy link

@inian can we get a target date to support Deno.createHttpClient(), related to #208, #210 and #1139

@JayMGurav
Copy link

hey there, not sure if this is the right place, but Is there any way to set deno flags while starting supabase in local with supabase start??

I want to pass --allow-net --unsafely-ignore-certificate-errors fetch.ts while starting the supabase. As it's failing to start due to TLS verification.

@linhub15
Copy link

linhub15 commented Apr 5, 2024

hey there, not sure if this is the right place, but Is there any way to set deno flags while starting supabase in local with supabase start??

I want to pass --allow-net --unsafely-ignore-certificate-errors fetch.ts while starting the supabase. As it's failing to start due to TLS verification.

@JayMGurav Supabse discussions would be more appropriate for you question.
Here's one that is relevant: https://github.com/orgs/supabase/discussions/14604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants