withastro/astro

Documented errors, page 2 of 4. Back to withastro/astro

Code / MessageTypeSeverityTags
<script src=" "> references an asset in the " " directory…
exception error scripts, public-dir, bundling, vite, build
The adapter doesn't provide a feature map. It is required…
exception error adapters, integrations, version-migration
The passed value can't be serialized.
exception error locals, serialization, edge-middleware, json, adapter
Auto-generating collections for folders in "src/content/"…
console warning content-collections, deprecation, config
ForbiddenRewrite
You tried to rewrite the on-demand route
exception error rewrites, middleware, prerender, ssr, hybrid-output
You are attempting to render <
console warning mdx, hydration, client-directive, astro-components, hast
Error generating redirects
exception error vercel, redirects, build, routing
InvalidFrontmatterInjectionError
A remark or rehype plugin attempted to inject invalid frontmatter. Ensure…
exception error markdown, remark, rehype, frontmatter
LocalImageUsedWrongly
`Image`'s and `getImage`'s `src` parameter must be an imported image or a URL…
exception error images, image-component, esm-import
Unable to render because it is ! Did you forget to import…
exception error astro, framework-component, undefined-component, import, ssr
Failed to parse image reference
exception error images, markdown, content-collections, asset-resolution, remark
The local Node.js version
console warning vercel, nodejs, runtime-version, compatibility, build
Your project uses , but your custom src/fetch.ts does not…
console warning fetch-handler, middleware, i18n, cache, pipeline
⚠️ Astro expected an SVG for
console warning astro, images, sharp, svg, format-mismatch, image-service
[preview] The adapter does not support the preview command.
exception error preview, adapter, ssr, cli
Astro.generator inside getStaticPaths is deprecated and…
console warning astro, getstaticpaths, deprecation, astro-generator, version
To inherit Markdown plugins in MDX, please use explicit…
console warning mdx, plugins, guidance, markdown, config
Unable to download template
exception error create-astro, cli, template, network, download
Could not generate a valid regex from the remotePattern
console warning netlify, images, remote-patterns, regex, config
Could not read the chunked data store at
console error
FetchState not found on APIContext. `next(payload)`…
exception error middleware, rewrite, next-payload, fetch-state, edge-middleware
[MDX] A Sätteri plugin attempted to inject invalid…
exception error mdx, rehype-plugin, frontmatter, saetteri
ActionCalledFromServerError
Action called from a server-rendered page or endpoint without using…
exception error astro-actions, this-binding, callaction, ssr
Error generating routes
exception error vercel, routing, build, normalize-routes
maxDuration is set to
console warning vercel, maxduration, timeout, serverless, limits
StaticClientAddressNotAvailable
`Astro.clientAddress` is only available on pages that are server-rendered.
exception error client-address, edge-middleware, adapter, create-context
[content] Could not read the chunked data store at
console warning astro, content-collections, cache, data-store, corruption
MissingGetFontFileRequestUrl
`experimental_getFontFileURL()` requires the request URL with on-demand…
exception error fonts, ssr, experimental, fonts-api
Unable to fetch . Does the package exist?
exception error cli, astro-add, network, package-registry, integrations
** ** contains multiple entries with the same slug: ` `…
console warning astro, content-collections, file-loader, duplicate-id, slug-conflict
Please make sure that your plan allows for this duration…
console warning vercel, maxduration, plan-limits, serverless
Unable to load the language
console warning prism, syntax-highlighting, markdown, ssg
Unable to resolve [ ]
exception error internal, ssr, assets, deploy
Entry → was not found.
console warning astro, content-collections, get-entry, not-found, runtime
Unable to find CSS for
console warning astro, dev-server, css, virtual-module, styles-missing
CacheNotEnabled
`Astro.cache` is not available because the cache feature is not enabled. To use…
exception error cache, configuration, astro-cache
Skipping cache for because response includes Vary: .
console error
Unsupported file type
console warning routing, pages-directory, file-type, framework-components, virtual-fs
Incorrect transform returned by `parseURL`
exception error images, image-endpoint, custom-service, dev-server
Invalid package name
exception error cli, astro-add, package-name, validation, security
NoManifestAvailableError
`new FetchState(request)` was called outside of an Astro server, so no manifest…
exception error manifest, fetch-state, bootstrap, server-entry, ambient
[astro] The " " directive cannot be applied dynamically at…
console warning astro, directives, spread-props, class-list, attribute-rendering
not applied.
console warning mdx, remark, rehype, plugins, config, markdown
More than one JSX renderer is enabled. This will lead to…
console warning react, jsx, multiple-frameworks, config, integrations
data store cleared (force)
console info content-collections, data-store, sync, experimental
InvalidGetStaticPathsReturn
Invalid type returned by `getStaticPaths()`. Expected an `array`, got
exception error astro, getstaticpaths, static-generation, validation
EnvPrefixConflictsWithSecret
The following environment variables are declared with `access: "secret"` in…
exception critical environment-variables, security, vite, config
The glob() loader cannot be used for files in
console warning astro, content-collections, glob-loader, legacy, migration
AstroResponseHeadersReassigned
Individual headers can be added to and removed from `Astro.response.headers`…
exception error astro-global, response-headers, readonly-property, assignment
CannotExtractFontType
An error occurred while trying to extract the font type from
exception error fonts, file-extension, fonts-api
Astro expected an SVG for
console error
Collection loader for
exception error content-collections, content-layer, loaders, build
Invalid URL encoding
exception error url-encoding, routing, middleware, security
LiveContentConfigError
Live collections must be defined in a `src/live.config.ts` file. Check your…
exception error content-collections, live-content, configuration
Shiki syntax highlighting uses inline styles that are not…
console warning csp, shiki, syntax-highlighting, security, config
Could not resolve image
exception error markdoc, images, asset-resolution, content, build
Invalid route — parameters must be separated
exception error astro, routing, file-naming, dynamic-routes, build-time
Unexpectedly unable to find a component instance for route
exception error internal, dev-server, routing, manifest
UnsupportedImageConversion
Converting between vector (such as SVGs) and raster (such as PNGs and JPEGs)…
exception error astro, images, svg, format-conversion, validation
MissingMiddlewareForInternationalization
Your configuration setting `i18n.routing: 'manual'` requires you to provide…
exception error i18n, routing, middleware, config, build-time
The current configuration does not support image…
console warning cloudflare, images, passthrough, sharp, optimization
The " " integration is trying to add the " " client…
exception error integrations, client-directives, plugin-api
ClientAddressNotAvailable
`Astro.clientAddress` is not available in the
exception error client-address, adapter, deployment-mode, headers
Could not render ` `. No matching import has been found for…
exception error mdx, islands, client-directive, imports, hydration
Background revalidation failed for
console error
[astro] deprecated. Move onto your processor instead (e.g…
console warning markdown, deprecation, config
[@astrojs/react] Importing `getContainerRenderer` from…
console warning react, deprecation, container-renderer, ssr, import-path
[RSS] Passing a glob result directly has been deprecated…
console warning rss, deprecation, vite-glob
Couldn't find component for route
exception error container, testing, routing, ssr, experimental
The route " " is defined in both " " and " " using SSR…
console warning routing, duplicate-route, ssr, dynamic-routes, rest-params
Solid Devtools requires `solid-devtools` as a peer…
console warning solid, devtools, peer-dependency, missing-dependency
Failed to get static paths from the Cloudflare prerender…
exception error cloudflare, prerender, routes, build, workerd
GetStaticPathsExpectedParams
Missing or empty required `params` property on `getStaticPaths()` route.
exception error astro, getstaticpaths, static-generation, params, validation
No files found to copy
exception error build, adapter, file-trace, fs
getStaticPaths() ignored in dynamic page
console warning astro, routing, prerender, getstaticpaths, static-generation
The " " integration is trying to add middleware but did not…
exception error integrations, middleware, plugin-api
AdapterSupportOutputMismatch
The ` ` adapter is configured to output a static website, but the project…
exception error adapter, ssr, build-output, configuration
Apps must default export an object with an id, and a name.
exception error dev-toolbar, dev-only, toolbar-app, integrations
Integration is injecting a type that does not end with
exception error integrations, typescript, plugin-api
Unable to read wrangler config, variables defined in it…
console warning cloudflare, wrangler, config, astro-env, environment-variables
[preview] The output directory
exception error preview, static-output, build, cli
SessionStorageSaveError
The session key was not provided.
exception error astro, sessions, validation, runtime
Astro.locals.runtime.env has been removed in Astro v6. Use…
exception error cloudflare, astro-v6, breaking-change, env-vars, migration
`Astro.session` was accessed but no session storage is…
console warning session, config, adapter, middleware
Error when reading content directory
console warning content-collections, symlinks, filesystem
ExpectedImage
Expected `src` property for `getImage` or `<Image />` to be either an ESM…
exception error images, image-component, validation
InvalidGetStaticPathsEntry
Invalid entry returned by `getStaticPaths()`. Expected an object, got
exception error astro, getstaticpaths, static-generation, validation
You must import your Tailwind stylesheet, e.g. in a shared…
console info astro, tailwind, cli, css, setup, action-required
Invalid route — brackets are unbalanced
exception error astro, routing, file-naming, dynamic-routes, build-time
[RSS] You can only glob entries within 'src/pages/' when…
exception error rss, import-meta-glob, vite, content-collections, astro-rss
The view transitions client API was called during a server…
console warning astro, view-transitions, client-router, ssr, browser-api
[@astrojs/svelte] Importing `getContainerRenderer` from…
console warning svelte, deprecation, container-renderer, ssr, import-path
FontFileUrlNotFound
The `" "` URL passed to the `experimental_getFontFileURL()` function is invalid.
exception error fonts, experimental, fonts-api
maxDuration must be a positive number
exception error vercel, adapter, config-validation, maxduration
ActionsReturnedInvalidDataError
Action handler returned invalid data. Handlers should return serializable data…
exception error astro-actions, serialization, devalue, response-object, return-value
EndpointDidNotReturnAResponse
An endpoint must return either a `Response`, or a `Promise` that resolves with…
exception error astro, endpoint, api-route, response, return-type
Expected second parameter to be an array, received a
console warning slots, api-misuse, arguments
Error: invalid hydration directive
exception error astro, hydration, directive, typo
UnknownFilesystemError
An unknown error occurred while reading or writing files to disk.
error_code error content-collections, filesystem, permissions, dev-server
Live content collections must be defined in…
exception error content-collections, live-content, loaders, migration