Skip to content

[bug]: Missing font-figtree.json in ShadCN Registry #10945

Description

@dikie001

Describe the bug

Running pnpm dlx shadcn@latest apply --preset b27GcsHQ --only font fails because the CLI attempts to fetch a registry item that does not exist: font-figtree.json.

The issue is reproducible on both shadcn@latest (4.11.0) and shadcn@4.10.0.

Instead of applying the font preset, the command exits with:

The item at https://ui.shadcn.com/r/styles/new-york-v4/font-figtree.json was not found.

This appears to be either a broken registry reference in preset b27GcsHQ or a missing font-figtree.json file in the new-york-v4 registry.

Affected component/components

CLI, Registry, Font Presets

How to reproduce

  1. Create or open a project initialized with shadcn/ui.

  2. Run:

    pnpm dlx shadcn@latest apply --preset b27GcsHQ --only font

  3. Observe that the command fails with:

    The item at https://ui.shadcn.com/r/styles/new-york-v4/font-figtree.json was not found.

  4. Repeat with:

    pnpm dlx shadcn@4.10.0 apply --preset b27GcsHQ --only font

  5. The same error occurs.

Codesandbox/StackBlitz link

No response

Logs

Something went wrong. Please check the error below for more details.

Message:
The item at https://ui.shadcn.com/r/styles/new-york-v4/font-figtree.json was not found. It may not exist at the registry.

Suggestion:
Check if the item name is correct and the registry URL is accessible.

System Info

OS: Windows 11

Node.js: v24.16.0

Package Manager: pnpm

shadcn CLI Versions Tested:

* latest (4.11.0)
* 4.10.0

Shell: PowerShell

Browser: Chrome Version 149.0.7827.114 (Official Build) (64-bit)


Framework: React + TypeScript

Issue reproduced consistently across both CLI versions.

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions