ErrLookup › shadcn-ui/ui
shadcn-ui/ui
A set of beautifully-designed, accessible components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code. · TypeScript · 1,591 source files
Analyzed at efac598707 on 2026-08-12. 138 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unknown font definition: ${name} | exception | critical | fonts, configuration, registry, module-load |
| Base color "${baseColorName}" or theme "${themeName}" not fo | exception | error | theme, configuration, registry, validation |
| Unknown item: "${designSystemConfig.item}". | exception | error | v0, registry, validation, components |
| Font "${designSystemConfig.font}" not found | exception | error | fonts, v0, layout, validation |
| Failed to fetch registry item: ${response.statusText} | exception | error | network, registry, fetch, environment, v0 |
| Base color "${config.baseColor}" or theme "${config.theme}" | exception | error | theme, registry, configuration, validation |
| Base "${config.base}" or icon library "${config.iconLibrary} | exception | error | registry, configuration, icons, base, validation |
| No assistant response found for this transcript. | exception | error | ai-sdk, transcript, chat, transport |
| Only continuation turns materialize from a transcript. | exception | error | chat, transcript, internal, continuation |
| count must be a non-negative integer. | validation | error | chat, validation, api-misuse, range-error |
| get() cannot materialize a continuation turn without a live | exception | error | chat, transcript, continuation, snapshot |
| A needsApproval tool call resolves from the user's decision; | exception | error | chat, tools, approval, writer |
| No assistant response found for this transcript. | exception | error | tanstack, transcript, chat, transport |
| ${component} must be used within a Questionnaire.Root compon | exception | error | react, context, questionnaire, provider |
| ${component} must be used within a Questionnaire.Choice comp | exception | error | react, context, questionnaire, provider |
| ${component} must be used within a Questionnaire.Item compon | exception | error | react, context, questionnaire, provider |
| Failed to read config at ${options.cwd}. | exception | error | cli, config, shadcn, filesystem |
| Missing value for --only. Use one or more of: ${APPLY_ONLY_V | validation | error | cli, validation, apply, user-input |
| Invalid value for --only: ${value}. Use one or more of: ${AP | validation | error | cli, validation, apply, user-input |
| Missing preset for --only. Use: shadcn apply <preset> --only | validation | error | cli, validation, apply, user-input |
| Could not back up ${filePath}. | exception | error | filesystem, permissions, monorepo, backup, apply |
| Failed to sync linked workspace configs. ${error.message} | exception | error | filesystem, monorepo, sync, rollback, apply |
| Invalid base: ${String(resolvedBase)}. Expected one of: ${PR | validation | error | validation, config, docs, preset |
| Could not resolve shadcn/tailwind.css. | exception | error | eject, asset-resolution, install, tailwind |
| Unknown preset: ${presetArg} | exception | error | init, preset, validation |
| Unknown client: ${client}. Available clients: ${CLIENTS.map( | exception | error | mcp, validation, config, cli |
| You must specify a migration. Run `shadcn migrate --list` to | validation | warning | migrate, validation, dead-code |
| No `components.json` file found. Ensure you are at the root | exception | error | migrate, config, init |
| Something went wrong reading your `components.json` file. Pl | exception | error | config, json, validation, migrate |
| Invalid preset code: ${code} | validation | error | preset, validation, decode |
| Invalid registry namespace: ${namespace}. Registry names mus | validation | error | registry, validation, cli |
| No components.json found. Run shadcn init first. | exception | error | registry, config, init |
| Failed to fetch registries. | exception | error | network, registry, fetch |
| Invalid registry URL for ${namespace}. URL must include {nam | validation | error | registry, validation, url-template |
| Registry ${namespace} not found. Provide a URL: ${namespace} | exception | error | registry, validation, lookup |
| No tool arguments provided. | validation | error | mcp, protocol, validation |
| Tool ${request.params.name} not found | exception | error | mcp, protocol, validation |
| File not found: ${options.path} | exception | error | migrate, filesystem, validation, icons |
| Unsupported path type: ${options.path} | exception | warning | migrate, filesystem, validation, icons |
| No files found matching: ${options.path} | exception | error | migration, icons, glob, path-resolution, user-input |
| We could not find a valid `ui` path in your `components.json | exception | error | migration, icons, config, components-json, path-resolution |
| Something went wrong fetching the registry icons. | exception | error | migration, icons, network, registry, fetch |
| Unknown icon library: ${libraryName}. Available libraries: $ | exception | error | migration, icons, validation, user-input, config |
| You cannot migrate to the same icon library. Please choose a | exception | error | migration, icons, validation, user-input |
| Could not resolve the icon import for ${sourceLibrary.title} | exception | error | migration, icons, config, internal, template |
| File not found: ${options.path} | exception | error | migration, radix, filesystem, path-resolution, user-input |
| Unsupported path type: ${options.path} | exception | error | migration, radix, filesystem, path-resolution, edge-case |
| No files found matching: ${options.path} | exception | error | migration, radix, glob, path-resolution, user-input |
| We could not find a valid `ui` path in your `components.json | exception | error | migration, radix, config, components-json, path-resolution |
| File not found: ${options.path} | exception | error | migration, rtl, filesystem, path-resolution, user-input |
| Unsupported path type: ${options.path} | exception | error | migration, rtl, filesystem, path-resolution, edge-case |
| No files found matching: ${options.path} | exception | error | migration, rtl, glob, path-resolution, user-input |
| Could not find a valid `ui` path in your `components.json`. | exception | error | migration, rtl, config, components-json, path-resolution |
| Could not update components.json. Please manually set `rtl: | exception | error | migration, rtl, config, components-json, filesystem |
INVALID_CONFIG Invalid provided config configuration in ${cwd}. | validation | error | registry, add, config, validation, schema, zod |
| The provided cwd must match config.resolvedPaths.cwd. | exception | error | registry, add, config, validation, path-resolution |
| Failed to fetch components from registry. | exception | error | registry, add, network, fetch, resolver |
| A full project config is required to resolve target aliases. | exception | error | registry, add, config, aliases, validation |
VALIDATION_ERROR Invalid GitHub ref in registry source "${source}". | validation | error | registry, github, validation, ref, config |
VALIDATION_ERROR Invalid registry namespace: "${name}". Registry names must start with @ (e.g., @ | validation | error | validation, registry, namespace, typescript |
NOT_FOUND The item at ${url} was not found. It may not exist at the registry. | http | error | registry, not-found, local-file, typescript |
PARSE_ERROR Failed to parse registry catalog: ${item} | validation | error | registry, parse-error, schema, zod, typescript |
INVALID_CONFIG Invalid ${configName} configuration in ${cwd}. | validation | error | config, components-json, validation, zod, typescript |
NOT_CONFIGURED Unknown registry "${registryName}". Make sure it is defined under "registries" i | error_code | error | config, registry, not-configured, typescript |
UNAUTHORIZED You are not authorized to access the item at ${url}. If this is a remote registr | http | error | network, auth, unauthorized, registry, typescript |
NOT_FOUND The item at ${url} was not found. It may not exist at the registry. | http | error | network, not-found, registry, typescript |
GONE The item at ${url} is no longer available. It may have been removed or expired. | http | error | network, gone, registry, deprecation, typescript |
FORBIDDEN You are not authorized to access the item at ${url}. If this is a remote registr | http | error | network, forbidden, auth, registry, typescript |
FETCH_ERROR Failed to fetch from registry (${statusCode}): ${url} | http | error | network, fetch-error, registry, retry, typescript |
PARSE_ERROR Failed to parse registry item: ${item} | validation | error | local-file, parse-error, schema, registry-item, typescript |
LOCAL_FILE_ERROR Failed to read local registry file: ${filePath} | error_code | error | local-file, filesystem, enoent, typescript |
FETCH_ERROR Could not resolve GitHub ref "${ref}" for ${address.owner}/${address.repo}. | error_code | error | github, git-ref, fetch-error, typescript |
FETCH_ERROR Failed to read GitHub source file "${filePath}" from ${formatGitHubSource(addres | error_code | error | network, github, proxy, fetch-error, typescript |
NOT_FOUND Registry item "${itemName}" was not found. | exception | error | registry, not-found, registry-item, loader, typescript |
VALIDATION_ERROR Invalid registry file at ${rootFile}: registries that use include must be named | validation | error | registry, validation, include, naming-convention |
LOCAL_FILE_ERROR Failed to read file "${filePath}" for registry item "${itemName}" (${formatItemS | exception | error | registry, filesystem, item-files, local-file |
PARSE_ERROR Failed to parse registry file: ${registryFile} | exception | error | registry, json, parse, syntax |
| Too many redirects while fetching ${url} | exception | error | network, redirect, fetch, proxy, http |
PARSE_ERROR Failed to parse registry item: ${item} | exception | error | registry, schema, zod, url, parse |
NOT_CONFIGURED Unknown registry "${registryName}". Make sure it is defined under "registries" i | exception | error | registry, config, namespace, dependencies |
| A full project config is required to add non-universal regis | exception | error | registry, universal, config, requirements |
NOT_FOUND Registry item "${itemName}" was not found. | exception | error | registry, source, not-found, build |
VALIDATION_ERROR Invalid source registry file at ${registryFile}: registries that use include mus | validation | error | registry, source, include, validation |
FETCH_ERROR Failed to read file "${filePath}" for registry item "${itemName}" (${formatItemS | exception | error | registry, source, files, fetch |
PARSE_ERROR Failed to parse registry file: ${registryFile} | exception | error | registry, json, parse, validation |
MISSING_ENV_VARS Registry "${registryName}" requires the following environment variables:
• ${ | exception | error | registry, env, validation, config |
| Failed to fetch components from registry. | exception | error | registry, network, add, fetch |
| We found an unsafe file path "${locationField}" in the regis | exception | critical | security, path-traversal, registry, add |
| Failed to fetch components from registry. | exception | error | registry, network, dry-run, fetch |
| Could not back up ${filePath}. | exception | error | filesystem, backup, permissions, update |
| Failed to load ${config.tsx ? "tsconfig" : "jsconfig"}.json. | exception | error | config, typescript, tsconfig, init |
| Could not resolve the following aliases in ${highlighter.inf | exception | error | config, typescript, aliases, init |
| "${registryName}" is a built-in registry and cannot be overr | exception | error | config, registry, validation, init |
| Invalid configuration found in ${highlighter.info(componentP | exception | error | config, init, validation, schema |
| Could not load the workspace config in ${highlighter.info(pa | exception | error | config, monorepo, workspace, init |
| Failed to transform JSX | exception | error | transform, babel, jsx, build |
| Invalid dependency "${dep}": dependency names cannot start w | validation | critical | security, dependencies, argument-injection, registry |
| Cannot write to ${filePath}: path exists and is a directory. | exception | error | filesystem, update, paths, install |
| Invalid target path "${target}". Target paths using @${alias | exception | error | paths, aliases, path-traversal, update |
| Invalid input: not an object literal | exception | error | shadcn, tailwind, ts-morph, config, build-tooling |
| usePreviewOverride must be used within a PreviewOverrideProv | exception | error | react, context, hooks, shadcn-v4, preview |
| useHistory must be used within HistoryProvider | exception | error | react, context, hooks, shadcn-v4, history |
| useLocks must be used within LocksProvider | exception | error | react, context, hooks, shadcn-v4, locks |
| usePreviewOverride must be used within a TypesetPreviewOverr | exception | error | react, context, hooks, shadcn-v4, typeset, preview |
| useHistory must be used within TypesetHistoryProvider | exception | error | react, context, hooks, shadcn-v4, typeset, history |
| useLocks must be used within LocksProvider | exception | error | react, context, hooks, shadcn-v4, typeset, locks |
| useThemeConfig must be used within an ActiveThemeProvider | exception | error | react, context, hooks, shadcn-v4, theming |
| useBlockViewer must be used within a BlockViewerProvider. | exception | error | react, context, hooks, shadcn-v4, block-viewer |
| useLayout must be used within a LayoutProvider | exception | error | react, context, hooks, shadcn-v4, layout, localstorage |
| Generated styles are missing or stale (${missingStyles.join( | exception | critical | nextjs, build, registry, styles, shadcn-v4, config |
| useCarousel must be used within a <Carousel /> | exception | error | react, context, hooks, shadcn, carousel, aria-style |
| useChart must be used within a <ChartContainer /> | exception | error | react, context, hooks, shadcn, chart, aria-style |
| useDrawer must be used within a Drawer. | exception | error | react, context, hooks, shadcn, drawer, aria-style |
| useProgress must be used within a Progress. | exception | error | react, context, hooks, shadcn, progress, aria-style |
| useSidebar must be used within a SidebarProvider. | exception | error | react, context, hooks, shadcn, sidebar, aria-style |
| useCarousel must be used within a <Carousel /> | exception | error | react, context, hooks, shadcn, carousel, base-style |
| useChart must be used within a <ChartContainer /> | exception | error | react, context, hooks, shadcn, chart, base-style |
| useDrawer must be used within a Drawer. | exception | error | react, context, hooks, shadcn, drawer, base-style |
| useSidebar must be used within a SidebarProvider. | exception | error | react, context, hooks, shadcn, sidebar, base-style |
| useCarousel must be used within a <Carousel /> | exception | error | react, context, carousel, radix |
| useChart must be used within a <ChartContainer /> | exception | error | react, context, chart, recharts |
| useSidebar must be used within a SidebarProvider. | exception | error | react, context, sidebar, radix |
| useCarousel must be used within a <Carousel /> | exception | error | react, context, carousel, new-york-v4 |
| useChart must be used within a <ChartContainer /> | exception | error | react, context, chart, new-york-v4 |
| useFormField should be used within <FormField> | exception | error | react, context, form, react-hook-form |
| useSidebar must be used within a SidebarProvider. | exception | error | react, context, sidebar, new-york-v4 |
| Unknown ${flag} target "${target}". Valid targets: ${valid}. | exception | error | cli, build, validation, registry |
| ${(error as Error).message}\n\n${USAGE} | exception | error | cli, args, validation, parseargs |
| --style ${target} is not supported because it is a legacy so | exception | error | cli, build, registry, legacy |
| Invalid registry schema for ${base.name} | exception | error | build, registry, schema, zod |
| Missing cached source for ${base.name}/${file.path} | exception | error | build, registry, filesystem, transform |
| Invalid registry schema for ${style.name} | exception | error | build, registry, schema, zod, index |
| Invalid registry schema for ${styleName} | exception | error | build, registry, schema, zod, cli-export |
| Invalid registry schema for ${base.name} | exception | error | build, registry, schema, zod, test-app |
| useMessageScroller must be used within a MessageScroller. | exception | error | react, context, message-scroller |
| MessageScrollerItem must be used within a MessageScroller. | exception | error | react, context, message-scroller, item |
| useTheme must be used within a ThemeProvider | exception | error | react, context, theme, dark-mode |
| useTheme must be used within a ThemeProvider | exception | error | react, context, theming, hook, provider, shadcn-ui |