Skip to content

supabase functions serve hello-world throws Unexpected positional argument: "hello-world" #6170

Description

@Bohooslav

Affected area

Local development

Supabase CLI version

2.113.0

Operating system

Fedora 44

Installation method

yarn

Command

npx supabase functions serve [any existing edge function]

Actual output

yarn run v1.22.22
warning package.json: No license field
$ supabase functions serve embed-skills
DESCRIPTION
Serve all Functions locally.
USAGE
supabase functions serve [flags]
FLAGS
--no-verify-jwt Disable JWT verification for the Function.
--env-file string Path to an env file to be populated to the Function environment.
--import-map string Path to import map file.
--inspect Alias of --inspect-mode brk.
--inspect-mode choice Activate inspector capability for debugging. (choices: run, brk, wait)
--inspect-main Allow inspecting the main worker.
GLOBAL FLAGS
--help, -h Show help information
--version, -v Show version information
--wizard Start wizard mode for a command
--completions <bash|zsh|fish|sh> Print shell completion script (choices: bash, zsh, fish, sh)
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)
--output-format choice Output format: text (default), json, or stream-json (NDJSON) (choices: text, json, stream-json)
--output, -o choice output format of status variables (choices: env, pretty, json, toml, yaml, table, csv)
--profile string use a specific profile for connecting to Supabase API
--debug output debug logs to stderr
--workdir string path to a Supabase project directory
--experimental enable experimental features
--network-id string use the specified docker network instead of a generated one
--yes answer yes to all prompts
--dns-resolver choice lookup domain names using the specified resolver (choices: native, https)
--create-ticket create a support ticket for any CLI error
--agent choice Override agent detection: yes, no, or auto (default auto) (choices: auto, yes, no)
Unexpected positional argument: "embed-skills"
Try rerunning the command with --debug to troubleshoot the error.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behavior

Should run the specific edge function

Steps to reproduce

  1. Init supabase project
  2. Create hello-world edge function
  3. Run npx supabase functions serve hello world

Crash report ID

No response

Docker and service versions

Client: Podman Engine
Version: 5.8.4
API Version: 5.8.4
Go Version: go1.26.4-X:nodwarf5
Git Commit: 5431df23c742e5edea35bef34eed696f4db0106b
Built: Fri Jun 26 03:00:00 2026
Build Origin: Fedora Project
OS/Arch: linux/amd64
supabase/gotrue:v2.194.0 => v2.195.0
supabase/storage-api:v1.67.26 => v1.69.0
Run supabase link to update them.
SERVICE IMAGE | LOCAL | LINKED ------------------------|------------------------|------------
supabase/postgres | 17.6.1.054 | 17.6.1.054 supabase/gotrue | v2.194.0 | v2.195.0 postgrest/postgrest | v13.0.5 | v13.0.5 supabase/realtime | v2.124.2 | - supabase/storage-api | v1.67.26 | v1.69.0 supabase/edge-runtime | v1.74.3 | - supabase/studio | 2026.08.03-sha-022b374 | - supabase/postgres-meta | v0.96.8 | - supabase/logflare | 1.50.1 | - supabase/supavisor | 2.9.7 | -

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions