Skip to content

supabase-cli installation via pnpm is broken #3489

Description

@duongphuhiep

Describe the bug

supabase-cli installation via pnpm is broken

To Reproduce
Follow the quick start docs using pnpm

  1. pnpm add supabase --save-dev
WARN  Failed to create bin at /node_modules/.bin/supabase. ENOENT: no such file or directory, open '/node_modules/.pnpm/supabase@2.22.6/node_modules/supabase/bin/supabase'
  1. pnpm supabase --version
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "supabase" not found

Expected behavior

``pnpm supabase` should work

Screenshots
I

Image

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

  • Ticket ID:
  • Version of OS: Fedora Linux 42
  • Version of CLI: 2.22.6
  • Version of Docker: Podman 5.4.2
  • Versions of services:

Additional context
If applicable, add any other context about the problem here.

  • Browser Chrom
  • Version of supabase-js v2.22.6
  • Version of Node.js 23.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions