cli
cli copied to clipboard
Unable to deploy edge function (with axios) after upgrading the CLI
Describe the bug
I upgraded Supabase CLI on my machine to the latest version and it does not allow me to deploy my edge function. This goes away if I remove axios
as a dependancy.
To Reproduce Steps to reproduce the behavior:
- Create a new edge function
- Import
axios
fromhttps://esm.sh/[email protected]
. I use import map but I doubt that has an effect here. - Try deploying with
supabase functions deploy my-func --no-verify-jwt
- See error
Expected behavior
The edge function should deploy without any errors which it does if I remove the axios
dependancy.
System information
Rerun the failing command with --create-ticket
flag.
- Ticket ID: 86d01ebc550c4f12ba808a63efbe4307
- Version of OS: macOS Sonoma 14.4
- Version of CLI: v1.148.6
- Version of Docker: v24.0.6
- Versions of services: SERVICE IMAGE │ LOCAL │ LINKED supabase/postgres │ 15.1.0.147 │ 15.1.0.12 supabase/gotrue │ v2.143.0 │ v2.143.0 postgrest/postgrest │ v12.0.1 │ v10.2.0 supabase/realtime │ v2.25.66 │ - supabase/storage-api │ v0.46.4 │ v0.48.2 supabase/edge-runtime │ v1.38.0 │ - supabase/studio │ 20240301-0942bfe │ - supabase/postgres-meta │ v0.79.0 │ - supabase/logflare │ 1.4.0 │ - bitnami/pgbouncer │ 1.20.1-debian-11-r39 │ - darthsim/imgproxy │ v3.8.0 │ -