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
-
Create or open a project initialized with shadcn/ui.
-
Run:
pnpm dlx shadcn@latest apply --preset b27GcsHQ --only font
-
Observe that the command fails with:
The item at https://ui.shadcn.com/r/styles/new-york-v4/font-figtree.json was not found.
-
Repeat with:
pnpm dlx shadcn@4.10.0 apply --preset b27GcsHQ --only font
-
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
Describe the bug
Running
pnpm dlx shadcn@latest apply --preset b27GcsHQ --only fontfails 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)andshadcn@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
b27GcsHQor a missingfont-figtree.jsonfile in thenew-york-v4registry.Affected component/components
CLI, Registry, Font Presets
How to reproduce
Create or open a project initialized with shadcn/ui.
Run:
pnpm dlx shadcn@latest apply --preset b27GcsHQ --only font
Observe that the command fails with:
The item at https://ui.shadcn.com/r/styles/new-york-v4/font-figtree.json was not found.
Repeat with:
pnpm dlx shadcn@4.10.0 apply --preset b27GcsHQ --only font
The same error occurs.
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting