cli icon indicating copy to clipboard operation
cli copied to clipboard

Unable to deploy function loacally

Open anil1kuppa opened this issue 2 months ago • 0 comments

Describe the bug Unable to deploy a function on supabase locally

To Reproduce Steps to reproduce the behavior: I have followed the documentation mentioned in https://supabase.com/docs/guides/functions/deploy

supabase functions deploy sms-hook --no-verify-jwt
Using workdir /Users/anil.kuppa/Personal
Selected project: blcsiqcqgizjsnzypdht
Bundling Function: sms-hook
Specifying import_map through flags is no longer supported. Please use deno.json instead.
Specifying decorator through flags is no longer supported. Please use deno.json instead.
Error: No such file or directory (os error 2)
error running container: exit 1

Getting the error no such file or directory. Inside Personal ,I've supabase and then functions and then sms-hook. I have currently deployed using browser.

Expected behavior I should be able to deploy locally using cli

Screenshots If applicable, add screenshots to help explain your problem.

System information Rerun the failing command with --create-ticket flag.

  • Version of OS: Mac
  • Version of CLI: 2.62.10
  • Version of Docker: Using colima colima version 0.8.1

anil1kuppa avatar Nov 28 '25 03:11 anil1kuppa