ErrLookup › shadcn-ui/ui
shadcn-ui/ui
Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own. · TypeScript · 1,616 source files
Analyzed at 98a1fe67b4 on 2026-09-21. 112 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| No `components.json` file found. Ensure you are at the root… | exception | error | migrate, config, init |
| refError.message | exception | error | github, authentication, cli, credentials, registry |
| A full project config is required to add non-universal… | exception | error | registry, universal, config, requirements |
| Failed to resolve GitHub ref | exception | error | github, rate-limit, network, authentication, registry, api |
FETCH_ERROR Failed to read file " " for registry item " " ( ). Expected file at . | exception | error | registry, source, files, fetch |
| useFormField should be used within | exception | error | react, context, form, react-hook-form |
| useCarousel must be used within a <Carousel /> | exception | error | react, context, carousel, radix |
| Failed to read GitHub source file | exception | error | github, file-size, limit, registry, fetch |
| Manual review required for | console | warning | manual-review, migration, diagnostic |
| No files found matching | exception | error | glob, file-not-found, cli |
| Could not resolve the icon import for | exception | error | migration, icons, config, internal, template |
| Invalid registry schema for | exception | error | build, registry, schema, zod |
| Unknown base color: . | exception | error | shadcn, registry, base-color, config, network |
| useTheme must be used within a ThemeProvider | exception | error | react, context, theming, hook, provider, shadcn-ui |
| A full project config is required to resolve target aliases. | exception | error | registry, add, config, aliases, validation |
INVALID_CONFIG Invalid provided config configuration in | validation | error | registry, add, config, validation, schema, zod |
| useMessageScroller must be used within a MessageScroller. | exception | error | react, context, message-scroller |
PARSE_ERROR Failed to parse registry item | exception | error | registry, schema, zod, url, parse |
| Missing cached source for | exception | error | build, registry, filesystem, transform |
VALIDATION_ERROR Invalid source registry file at | validation | error | registry, source, include, validation |
| Too many redirects while fetching | exception | error | network, redirect, fetch, proxy, http |
| - ${token}: ${reason} | console | warning | shadcn, css, base-color, migration, css-variables |
NOT_CONFIGURED Unknown registry " ". Make sure it is defined under "registries" in your… | exception | error | registry, config, namespace, dependencies |
| The cn migration requires Tailwind CSS v4 and… | exception | error | version-compatibility, tailwind, dependencies |
| Invalid target path " ". Target paths using @ / must stay… | exception | error | paths, aliases, path-traversal, update |
| --style is not supported because it is a legacy source… | exception | error | cli, build, registry, legacy |
| The `base-color` migration requires CSS variables. Your… | exception | error | shadcn, tailwind, config, css-variables, migration |
| We found an unsafe file path | exception | critical | security, path-traversal, registry, add |
| useChart must be used within a <ChartContainer /> | exception | error | react, context, chart, recharts |
| Skipped token . These were left untouched | console | warning | shadcn, css, base-color, migration, css-variables |
NOT_FOUND The item at was not found. It may not exist at the registry. | http | error | registry, not-found, local-file, typescript |
| Unknown font definition | exception | critical | fonts, configuration, registry, module-load |
LOCAL_FILE_ERROR Failed to read file " " for registry item " " ( ). Expected file at . | exception | error | registry, filesystem, item-files, local-file |
| Invalid configuration found in | exception | error | config, init, validation, schema |
| Invalid input: not an object literal | exception | error | shadcn, tailwind, ts-morph, config, build-tooling |
| \n\n | exception | error | cli, args, validation, parseargs |
| Failed to transform JSX | exception | error | transform, babel, jsx, build |
| No or found. Run first. | exception | error | shadcn, cli, config, registry, project-init |
| Something went wrong fetching the registry icons. | exception | error | migration, icons, network, registry, fetch |
| We could not find a valid CSS file in your… | exception | error | shadcn, tailwind, config, css, path-resolution |
| Unknown target " ". Valid targets: .\n\n | exception | error | cli, build, validation, registry |
| Could not update components.json. Please manually set `rtl… | exception | error | migration, rtl, config, components-json, filesystem |
| Invalid dependency " ": dependency names cannot start with… | validation | critical | security, dependencies, argument-injection, registry |
| MessageScrollerItem must be used within a MessageScroller. | exception | error | react, context, message-scroller, item |
| useSidebar must be used within a SidebarProvider. | exception | error | react, context, sidebar, radix |
| Could not remove . Remove them manually after reviewing the… | console | warning | dependencies, package-manager, cleanup |
| Failed to sync linked workspace configs. | exception | error | filesystem, monorepo, sync, rollback, apply |
| No assistant response found for this transcript. | exception | error | ai-sdk, transcript, chat, transport |
| Could not back up . | exception | error | filesystem, permissions, monorepo, backup, apply |
| useBlockViewer must be used within a BlockViewerProvider. | exception | error | react, context, hooks, shadcn-v4, block-viewer |
| - ${file}${symbol}: ${issue.reason} | console | warning | manual-review, migration, diagnostic |
| Failed to fetch components from registry. | exception | error | registry, add, network, fetch, resolver |
| usePreviewOverride must be used within a… | exception | error | react, context, hooks, shadcn-v4, preview |
| Unknown icon library | exception | error | migration, icons, validation, user-input, config |
| You must specify a migration. Run `shadcn migrate --list`… | validation | warning | migrate, validation, dead-code |
MISSING_ENV_VARS Registry " " requires the following environment variables: • | exception | error | registry, env, validation, config |
| Unsupported path type | exception | error | filesystem, path, unsupported |
| Base color " " or theme " " not found | exception | error | theme, configuration, registry, validation |
| useHistory must be used within HistoryProvider | exception | error | react, context, hooks, shadcn-v4, history |
| Only continuation turns materialize from a transcript. | exception | error | chat, transcript, internal, continuation |
| You cannot migrate to the same icon library. Please choose… | exception | error | migration, icons, validation, user-input |
| useLayout must be used within a LayoutProvider | exception | error | react, context, hooks, shadcn-v4, layout, localstorage |
| useDrawer must be used within a Drawer. | exception | error | react, context, hooks, shadcn, drawer, aria-style |
| Migration cancelled. | console | info | user-abort, interactive-prompt, cli |
| Unknown base color: . Available base colors: . | exception | error | shadcn, cli, validation, base-color, enum |
| Something went wrong fetching the base colors. | exception | error | shadcn, registry, network, base-color, proxy |
| Base " " or icon library " " not found | exception | error | registry, configuration, icons, base, validation |
| useThemeConfig must be used within an ActiveThemeProvider | exception | error | react, context, hooks, shadcn-v4, theming |
| Could not resolve the following aliases in | exception | error | config, typescript, aliases, init |
| Font " " not found | exception | error | fonts, v0, layout, validation |
| A needsApproval tool call resolves from the user's… | exception | error | chat, tools, approval, writer |
| get() cannot materialize a continuation turn without a live… | exception | error | chat, transcript, continuation, snapshot |
| We could not find a valid `ui` path in your… | exception | error | migration, icons, config, components-json, path-resolution |
| Could not resolve shadcn/tailwind.css. | exception | error | eject, asset-resolution, install, tailwind |
| useProgress must be used within a Progress. | exception | error | react, context, hooks, shadcn, progress, aria-style |
| The provided cwd must match config.resolvedPaths.cwd. | exception | error | registry, add, config, validation, path-resolution |
| Could not load the workspace config in | exception | error | config, monorepo, workspace, init |
| File not found | exception | error | filesystem, path, cli |
| Could not find a valid `ui` path in your `components.json`… | exception | error | migration, rtl, config, components-json, path-resolution |
| useLocks must be used within LocksProvider | exception | error | react, context, hooks, shadcn-v4, locks |
| No `package.json` file found. Ensure you are at the root of… | exception | error | filesystem, project-root, cli |
| must be used within a Questionnaire.Root component. | exception | error | react, context, questionnaire, provider |
| Failed to read config at | exception | error | cli, config, shadcn, filesystem |
| usePreviewOverride must be used within a… | exception | error | react, context, hooks, shadcn-v4, typeset, preview |
| Failed to load .json. | exception | error | config, typescript, tsconfig, init |
| Generated styles are missing or stale | exception | critical | nextjs, build, registry, styles, shadcn-v4, config |
| Tool not found | exception | error | mcp, protocol, validation |
| " " is a built-in registry and cannot be overridden. | exception | error | config, registry, validation, init |
| You cannot migrate to the same base color. Please choose a… | exception | error | shadcn, validation, base-color, migration |
| Failed to fetch registry item | exception | error | network, registry, fetch, environment, v0 |
| useHistory must be used within TypesetHistoryProvider | exception | error | react, context, hooks, shadcn-v4, typeset, history |
| Invalid preset code | validation | error | preset, validation, decode |
| Cannot write to : path exists and is a directory. Please… | exception | error | filesystem, update, paths, install |
FORBIDDEN You are not authorized to access the item at | http | error | network, forbidden, auth, registry, typescript |
| must be used within a Questionnaire.Choice component. | exception | error | react, context, questionnaire, provider |
UNAUTHORIZED You are not authorized to access the item at | http | error | network, auth, unauthorized, registry, typescript |
| Invalid base: . Expected one of: . | validation | error | validation, config, docs, preset |
| count must be a non-negative integer. | validation | error | chat, validation, api-misuse, range-error |
| Missing value for --only. Use one or more of | validation | error | cli, validation, apply, user-input |
| Unknown item: " ". | exception | error | v0, registry, validation, components |