Skip to content

Unable to deploy function loacally #4544

@anil1kuppa

Description

@anil1kuppa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions