withastro/astro
Documented errors, page 3 of 4. Back to withastro/astro
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| [astro] `markdown.remarkPlugins`, `markdown.rehypePlugins`… | console | warning | markdown, deprecation, plugins, unified |
| expects a " " value! | exception | error | cli, preferences, type-mismatch, configuration |
| Another astro dev server is already running. URL | exception | error | cli, astro-dev, lock-file, process-management |
| Unable to fetch latest | console | warning | create-astro, npm, registry, network, timeout |
UnsupportedImageFormat SVG image processing is disabled, but the source for | exception | error | astro, images, svg, sharp, security-opt-in |
NoMatchingImport Could not render ` `. No matching import has been found for ` `. | exception | error | astro, hydration, import-analysis, compiler |
UnknownContentCollectionError Collection " " is a live collection. Use getLiveCollection() instead of… | error_code | error | content-collections, live-collections, runtime-api |
| update ▶ New version of Astro available | console | info | versioning, update, dev-server |
| font family cannot be retrieved by the provider. Did you… | console | warning | fonts, experimental-assets, typo, configuration |
| Unsupported content type | exception | error | astro-actions, content-type, http, typeerror, fetch |
LocalsReassigned `locals` cannot be assigned directly. | exception | error | locals, astro-global, readonly-property, assignment |
| The markdown processor | exception | error | mdx, markdown-processor, config, vite-plugin |
FontFamilyNotFound No data was found for the | exception | error | fonts, experimental, component, css-variable |
| These families will not be merged together. The last… | console | warning | fonts, css-variable, configuration, experimental-assets |
| must live in a collection subdirectory. | console | warning | astro, content-collections, types-generator, directory-structure |
EnvInvalidVariables The following environment variables defined in `env.schema` are invalid | exception | error | environment-variables, validation, env-schema, config |
| `workerd` does not run on Stackblitz. | exception | error | cloudflare, adapter, stackblitz, webcontainer, environment-check |
| [@astrojs/alpinejs] entrypoint | console | warning | alpinejs, integration, entrypoint, default-export, esm |
MissingSharp Could not find Sharp. Please install Sharp (`sharp`) manually into your project… | exception | error | astro, images, sharp, native-modules, dependency |
ImageNotFound Could not find requested image | exception | error | astro, images, import, file-not-found, path-casing, ci |
| Language does not exist | console | warning | prism, workerd, cloudflare, syntax-highlighting |
| requests are not available in static endpoints. Mark this… | console | warning | astro, api-routes, endpoints, prerender, http-method |
| No pages found! | console | warning | sitemap, serialize, no-pages, seo, callback |
| A content collection is defined with legacy features (e.g… | exception | error | content-collections, content-layer, migration, legacy-config |
| [@astrojs/mdx] Importing `getContainerRenderer` from… | console | warning | mdx, deprecation, container-api, subpath-import |
| [@astrojs/preact] Importing `getContainerRenderer` from… | console | warning | preact, deprecation, container-renderer, ssr, import-path |
NoClientOnlyHint Unable to render ` `. When using the `client:only` hydration strategy, Astro… | exception | error | astro, client-only, hydration, directive |
| [@astrojs/solid-js] Importing `getContainerRenderer` from… | console | warning | solid, deprecation, container-renderer, ssr, import-path |
MissingMediaQueryDirective Media query not provided for `client:media` directive. A media query similar to… | exception | error | astro, hydration, client-media, directive |
| Using deprecated `session.driver` string signature. Learn… | console | warning | session, deprecation, config, astro-v6, zod |
BAD_REQUEST Failed to validate | error_code | error | actions, zod, validation, client |
ExpectedNotESMImage An ESM-imported image cannot be passed directly to `getImage()`. Instead, pass… | exception | error | images, getimage, esm-import, api-usage |
MiddlewareNoDataOrNextCalled Make sure your middleware returns a `Response` object, either directly or by… | exception | error | middleware, next-not-called, missing-return, control-flow |
| Could not find server component path | exception | error | astro, server-islands, experimental, internal-props |
| App entrypoint must default export an object. | exception | error | dev-toolbar, dev-only, toolbar-app, integrations |
| Auto-generating collections for folders in "src/content/"… | console | error | |
| Vercel Image Optimization requires at least one size to be… | exception | error | vercel, image-optimization, config, sizes |
| Your loader's schema is defined using a function. This is… | console | warning | astro, content-collections, loader, schema, deprecation |
FailedToFetchRemoteImageDimensions Failed to get the dimensions for | exception | error | astro, images, remote, url-validation |
PrerenderClientAddressNotAvailable `Astro.clientAddress` cannot be used inside prerendered route | exception | error | client-address, prerender, static-generation, build-time |
| The server entrypoint doesn't have a handler. Are you sure… | exception | error | node, preview, build-output, entrypoint |
| No pages found! ` ` not created. | console | warning | sitemap, filter, no-pages, seo, build |
| The injected route " " by specifies the entry point with… | console | warning | integrations, injectroute, deprecation, api-rename |
UNSUPPORTED_MEDIA_TYPE This action only accepts FormData. | exception | error | astro-actions, form-data, unsupported-media-type, input-type |
| Prism TypeScript language not loaded, Astro scripts will be… | console | warning | prism, astro-grammar, typescript, syntax-highlighting |
RemoteImageNotAllowed Remote image is not allowed by your image configuration. | exception | error | images, remote-images, security-config, getimage |
| The adapter has deprecated its support for " ", and future… | console | warning | adapter, deprecation, features, config |
ConfigNotFound Unable to resolve `--config | exception | error | cli, config, filesystem |
| Content config not loaded | console | warning | content-collections, config, dev-server |
| [astro:actions] `getActionContext()` unexpectedly used on… | exception | error | astro-actions, ssr, client-bundle, request-context |
| Expected handler for action | exception | error | astro-actions, typeerror, namespace, rpc-lookup |
| Unknown error parsing tsconfig.json or jsconfig.json. Could… | exception | error | astro, cli, astro-add, tsconfig, json, configuration |
| The Sitemap integration requires the `site` astro.config… | console | warning | sitemap, site-config, seo, build, config |
| `getActionState()` must be called with a form request. | exception | error | react, actions, forms, content-type |
| [astro:actions] `defineAction()` unexpectedly used on the… | exception | error | astro-actions, ssr, client-bundle, isomorphic-import |
| Failed to write lock file | exception | error | filesystem, dev-server, permissions, lockfile |
| No contents found for | console | warning | astro, content-collections, glob-loader, filesystem, watch-mode |
| You tried to add the | exception | error | container, renderers, ordering, hydration, testing, experimental |
GetImageNotUsedOnServer `getImage()` should only be used on the server. To use images on the client… | exception | error | astro, images, client-server, ssr, bundling |
INTERNAL_SERVER_ERROR e instanceof Error ? e.message : 'Unknown error' | error_code | error | actions, internal-error, error-handling, server |
| [ ] Astro now supports MDX! Support for components in ".md"… | console | warning | astro, markdown, mdx, migration, frontmatter |
MissingImageDimension Missing attribute`} for . When using remote images, both dimensions are… | exception | error | images, image-component, remote-images, cls |
| [preview] No adapter found. | exception | error | preview, adapter, ssr, config, cli |
| Unable to resolve | exception | error | upgrade, npm-registry, network, metadata-fetch |
| ▶ vite.server.fs.strict has been disabled! Files on your… | console | warning | security, vite, dev-server, filesystem |
| context.csp was used when rendering the route | console | warning | csp, security, config |
| The adapter uses `entrypointResolution: "explicit"` by… | console | warning | adapter, deprecation, entrypoint |
| The @astrojs/netlify/functions import is deprecated and… | console | warning | netlify, deprecation, adapter, import-path, migration |
UnknownCompilerError ${err.message ?? 'Unknown compiler error'} | exception | error | compiler, internal, upgrade |
| [astro:cache] Skipping cache for | console | warning | cache, cookies, set-cookie, memory-provider |
CannotOptimizeSvg An error occurred while optimizing SVG file | exception | error | astro, svg, svgo, optimization, cause-chaining |
MissingLocaleError The locale/path ` ` does not exist in the configured `i18n.locales`. | exception | error | i18n, localization, routing, config |
| The renderer name must be provided when adding a server… | exception | error | container, renderers, missing-argument, testing, experimental |
| Could not find server component export | exception | error | astro, server-islands, experimental, internal-props |
| (Uncaught error) Partial tag requires a 'file' attribute | exception | error | markdoc, partials, content, required-attribute |
| Unsupported React version | exception | error | react, version, container, peer-dependency |
DataCollectionEntryParseError ** ** failed to parse | exception | error | content-collections, json, data-layer |
| No extension found for | console | warning | astro, content-collections, glob-loader, file-extension |
| Please use Astro.url instead. | exception | error | netlify, local-dev, context, url |
RenderUndefinedEntryError Attempted to render an undefined content collection entry. | exception | error | content-collections, render, null-safety, dynamic-routes |
| `Astro.request.headers` was used when rendering the route | console | warning | prerender, ssg, headers, request, hybrid-rendering |
ImageMissingAlt Image missing "alt" property. "alt" text is required to describe important… | exception | error | image, accessibility, alt-text, component |
| Expected `server` export in actions file to be an object… | exception | error | astro-actions, typeerror, module-export, virtual-module |
InvalidContentEntrySlugError → has an invalid slug. `slug` must be a string. | error_code | error | frontmatter, markdown, slug, content-collections, yaml, validation |
| Apps must be an object with an id, a name and an entrypoint. | exception | error | dev-toolbar, dev-only, toolbar-app, integrations, config |
| Glob patterns cannot start with `../`. Set the `base`… | validation | error | content-collections, glob-loader, path, config |
| SVG file does not contain an | exception | error | astro, svg, file-validation |
| Unsupported image format | validation | error | netlify, image-service, format, validate-options |
| Update your adapter to use `entrypointResolution: "auto"`… | console | warning | adapter, deprecation, entrypoint |
CONTENT_TOO_LARGE Request body exceeds | exception | error | astro-actions, payload-size, content-too-large, security-config |
IncompatibleDescriptorOptions Only one of `densities` or `widths` can be specified. In most cases, you'll… | exception | error | images, picture-component, responsive-images, api-usage |
| `getActionState()` could not find a state object. | exception | error | react, actions, use-action-state, forms |
| Missing `width` parameter for remote image | exception | error | vercel, image, remote-image, width |
CompilerError ${compilerError.text} | exception | error | compiler, syntax, astro-component |
| The base directory " " does not exist. | console | warning | astro, content-collections, glob-loader, directory, filesystem |
| doesn't appear to be an integration or an adapter. Find our… | exception | error | cli, astro-add, package-metadata, integrations, adapters |
| [astro]… | console | warning | markdown, processor, plugins, config-mismatch |
| Integration " " conflicts with " ". You can only configure… | exception | error | adapter, integrations, configuration |
| No items found in | console | warning | astro, content-collections, file-loader, empty-data |
| This project contains server-rendered routes, but no… | console | warning | adapter, ssr, build |