Home / Function/ NoMatchingRenderer.message() — astro Function Reference

NoMatchingRenderer.message() — astro Function Reference

Architecture documentation for the NoMatchingRenderer.message() function in errors-data.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  bfaf3634_20f8_6e79_2d11_32d9c97a1b8a["NoMatchingRenderer.message()"]
  0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"]
  bfaf3634_20f8_6e79_2d11_32d9c97a1b8a -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74
  style bfaf3634_20f8_6e79_2d11_32d9c97a1b8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 157–174

	message: (
		componentName: string,
		componentExtension: string | undefined,
		plural: boolean,
		validRenderersCount: number,
	) =>
		`Unable to render \`${componentName}\`.

${
	validRenderersCount > 0
		? `There ${plural ? 'are' : 'is'} ${validRenderersCount} renderer${plural ? 's' : ''} configured in your \`astro.config.mjs\` file,
but ${plural ? 'none were' : 'it was not'} able to server-side render \`${componentName}\`.`
		: `No valid renderer was found ${
				componentExtension
					? `for the \`.${componentExtension}\` file extension.`
					: `for this file extension.`
			}`
}`,

Domain

Subdomains

Frequently Asked Questions

What does NoMatchingRenderer.message() do?
NoMatchingRenderer.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is NoMatchingRenderer.message() defined?
NoMatchingRenderer.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 157.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free