Ошибки компилятора
animation_duplicate
Заголовок раздела «animation_duplicate»An element can only have one 'animate' directiveanimation_invalid_placement
Заголовок раздела «animation_invalid_placement»An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` blockanimation_missing_key
Заголовок раздела «animation_missing_key»An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block. Did you forget to add a key to your each block?attribute_contenteditable_dynamic
Заголовок раздела «attribute_contenteditable_dynamic»'contenteditable' attribute cannot be dynamic if element uses two-way bindingattribute_contenteditable_missing
Заголовок раздела «attribute_contenteditable_missing»'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindingsattribute_duplicate
Заголовок раздела «attribute_duplicate»Attributes need to be uniqueattribute_empty_shorthand
Заголовок раздела «attribute_empty_shorthand»Attribute shorthand cannot be emptyattribute_invalid_event_handler
Заголовок раздела «attribute_invalid_event_handler»Event attribute must be a JavaScript expression, not a stringattribute_invalid_multiple
Заголовок раздела «attribute_invalid_multiple»'multiple' attribute must be static if select uses two-way bindingattribute_invalid_name
Заголовок раздела «attribute_invalid_name»'%name%' is not a valid attribute nameattribute_invalid_sequence_expression
Заголовок раздела «attribute_invalid_sequence_expression»Sequence expressions are not allowed as attribute/directive values in runes mode, unless wrapped in parenthesesattribute_invalid_type
Заголовок раздела «attribute_invalid_type»'type' attribute must be a static text value if input uses two-way bindingattribute_unquoted_sequence
Заголовок раздела «attribute_unquoted_sequence»Attribute values containing `{...}` must be enclosed in quote marks, unless the value only contains the expressionbind_group_invalid_expression
Заголовок раздела «bind_group_invalid_expression»`bind:group` can only bind to an Identifier or MemberExpressionbind_group_invalid_snippet_parameter
Заголовок раздела «bind_group_invalid_snippet_parameter»Cannot `bind:group` to a snippet parameterbind_invalid_expression
Заголовок раздела «bind_invalid_expression»Can only bind to an Identifier or MemberExpression or a `{get, set}` pairbind_invalid_name
Заголовок раздела «bind_invalid_name»`bind:%name%` is not a valid binding`bind:%name%` is not a valid binding. %explanation%bind_invalid_parens
Заголовок раздела «bind_invalid_parens»`bind:%name%={get, set}` must not have surrounding parenthesesbind_invalid_target
Заголовок раздела «bind_invalid_target»`bind:%name%` can only be used with %elements%bind_invalid_value
Заголовок раздела «bind_invalid_value»Can only bind to state or propsbindable_invalid_location
Заголовок раздела «bindable_invalid_location»`$bindable()` can only be used inside a `$props()` declarationblock_duplicate_clause
Заголовок раздела «block_duplicate_clause»%name% cannot appear more than once within a blockblock_invalid_continuation_placement
Заголовок раздела «block_invalid_continuation_placement»{:...} block is invalid at this position (did you forget to close the preceding element or block?)block_invalid_elseif
Заголовок раздела «block_invalid_elseif»'elseif' should be 'else if'block_invalid_placement
Заголовок раздела «block_invalid_placement»{#%name% ...} block cannot be %location%block_unclosed
Заголовок раздела «block_unclosed»Block was left openblock_unexpected_character
Заголовок раздела «block_unexpected_character»Expected a `%character%` character immediately following the opening bracketblock_unexpected_close
Заголовок раздела «block_unexpected_close»Unexpected block closing tagcomponent_invalid_directive
Заголовок раздела «component_invalid_directive»This type of directive is not valid on componentsconst_tag_cycle
Заголовок раздела «const_tag_cycle»Cyclical dependency detected: %cycle%const_tag_invalid_expression
Заголовок раздела «const_tag_invalid_expression»{@const ...} must consist of a single variable declarationconst_tag_invalid_placement
Заголовок раздела «const_tag_invalid_placement»`{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, `<svelte:fragment>`, `<svelte:boundary` or `<Component>`const_tag_invalid_reference
Заголовок раздела «const_tag_invalid_reference»The `{@const %name% = ...}` declaration is not available in this snippetЭто ошибка:
<svelte:boundary> {@const foo = 'bar'}
{#snippet failed()} {foo} {/snippet}</svelte:boundary>Здесь foo недоступна внутри failed. Код верхнего уровня внутри <svelte:boundary> становится частью неявного сниппета children, другими словами, приведённый выше код эквивалентен следующему:
<svelte:boundary> {#snippet children()} {@const foo = 'bar'} {/snippet}
{#snippet failed()} {foo} {/snippet}</svelte:boundary>То же самое применяется к компонентам:
<Component> {@const foo = 'bar'}
{#snippet someProp()} <!-- ошибка --> {foo} {/snippet}</Component>constant_assignment
Заголовок раздела «constant_assignment»Cannot assign to %thing%constant_binding
Заголовок раздела «constant_binding»Cannot bind to %thing%css_empty_declaration
Заголовок раздела «css_empty_declaration»Declaration cannot be emptycss_expected_identifier
Заголовок раздела «css_expected_identifier»Expected a valid CSS identifiercss_global_block_invalid_combinator
Заголовок раздела «css_global_block_invalid_combinator»A `:global` selector cannot follow a `%name%` combinatorcss_global_block_invalid_declaration
Заголовок раздела «css_global_block_invalid_declaration»A top-level `:global {...}` block can only contain rules, not declarationscss_global_block_invalid_list
Заголовок раздела «css_global_block_invalid_list»A `:global` selector cannot be part of a selector list with more than one itemcss_global_block_invalid_modifier
Заголовок раздела «css_global_block_invalid_modifier»A `:global` selector cannot modify an existing selectorcss_global_block_invalid_modifier_start
Заголовок раздела «css_global_block_invalid_modifier_start»A `:global` selector can only be modified if it is a descendant of other selectorscss_global_block_invalid_placement
Заголовок раздела «css_global_block_invalid_placement»A `:global` selector cannot be inside a pseudoclasscss_global_invalid_placement
Заголовок раздела «css_global_invalid_placement»`:global(...)` can be at the start or end of a selector sequence, but not in the middlecss_global_invalid_selector
Заголовок раздела «css_global_invalid_selector»`:global(...)` must contain exactly one selectorcss_global_invalid_selector_list
Заголовок раздела «css_global_invalid_selector_list»`:global(...)` must not contain type or universal selectors when used in a compound selectorcss_nesting_selector_invalid_placement
Заголовок раздела «css_nesting_selector_invalid_placement»Nesting selectors can only be used inside a rule or as the first selector inside a lone `:global(...)`css_selector_invalid
Заголовок раздела «css_selector_invalid»Invalid selectorcss_type_selector_invalid_placement
Заголовок раздела «css_type_selector_invalid_placement»`:global(...)` must not be followed by a type selectordebug_tag_invalid_arguments
Заголовок раздела «debug_tag_invalid_arguments»{@debug ...} arguments must be identifiers, not arbitrary expressionsdeclaration_duplicate
Заголовок раздела «declaration_duplicate»`%name%` has already been declareddeclaration_duplicate_module_import
Заголовок раздела «declaration_duplicate_module_import»Cannot declare a variable with the same name as an import inside `<script module>`derived_invalid_export
Заголовок раздела «derived_invalid_export»Cannot export derived state from a module. To expose the current derived value, export a function returning its valuedirective_invalid_value
Заголовок раздела «directive_invalid_value»Directive value must be a JavaScript expression enclosed in curly bracesdirective_missing_name
Заголовок раздела «directive_missing_name»`%type%` name cannot be emptydollar_binding_invalid
Заголовок раздела «dollar_binding_invalid»The $ name is reserved, and cannot be used for variables and importsdollar_prefix_invalid
Заголовок раздела «dollar_prefix_invalid»The $ prefix is reserved, and cannot be used for variables and importsduplicate_class_field
Заголовок раздела «duplicate_class_field»`%name%` has already been declaredeach_item_invalid_assignment
Заголовок раздела «each_item_invalid_assignment»Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`, or `bind:value={array[i]}` instead of `bind:value={entry}`)В режиме совместимости была возможность переназначить или привязать сам аргумент блока each:
<script> let array = [1, 2, 3];</script>
{#each array as entry} <!-- переназначение --> <button on:click={() => entry = 4}>change</button>
<!-- привязка --> <input bind:value={entry}>{/each}Оказалось, что это работало ненадёжно и непредсказуемо, особенно при работе с производными значениями (такими как array.map(...)), поэтому в режиме рун такое поведение запрещено. Того же результата можно добиться, используя индекс:
<script> let array = $state([1, 2, 3]);</script>
{#each array as entry, i} <!-- переназначение --> <button onclick={() => array[i] = 4}>change</button>
<!-- привязка --> <input bind:value={array[i]}>{/each}effect_invalid_placement
Заголовок раздела «effect_invalid_placement»`$effect()` can only be used as an expression statementelement_invalid_closing_tag
Заголовок раздела «element_invalid_closing_tag»`</%name%>` attempted to close an element that was not openelement_invalid_closing_tag_autoclosed
Заголовок раздела «element_invalid_closing_tag_autoclosed»`</%name%>` attempted to close element that was already automatically closed by `<%reason%>` (cannot nest `<%reason%>` inside `<%name%>`)element_unclosed
Заголовок раздела «element_unclosed»`<%name%>` was left openevent_handler_invalid_component_modifier
Заголовок раздела «event_handler_invalid_component_modifier»Event modifiers other than 'once' can only be used on DOM elementsevent_handler_invalid_modifier
Заголовок раздела «event_handler_invalid_modifier»Valid event modifiers are %list%event_handler_invalid_modifier_combination
Заголовок раздела «event_handler_invalid_modifier_combination»The '%modifier1%' and '%modifier2%' modifiers cannot be used togetherexpected_attribute_value
Заголовок раздела «expected_attribute_value»Expected attribute valueexpected_block_type
Заголовок раздела «expected_block_type»Expected 'if', 'each', 'await', 'key' or 'snippet'expected_identifier
Заголовок раздела «expected_identifier»Expected an identifierexpected_pattern
Заголовок раздела «expected_pattern»Expected identifier or destructure patternexpected_token
Заголовок раздела «expected_token»Expected token %token%expected_whitespace
Заголовок раздела «expected_whitespace»Expected whitespaceexperimental_async
Заголовок раздела «experimental_async»Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless the `experimental.async` compiler option is `true`export_undefined
Заголовок раздела «export_undefined»`%name%` is not definedglobal_reference_invalid
Заголовок раздела «global_reference_invalid»`%name%` is an illegal variable name. To reference a global variable called `%name%`, use `globalThis.%name%`host_invalid_placement
Заголовок раздела «host_invalid_placement»`$host()` can only be used inside custom element component instancesillegal_element_attribute
Заголовок раздела «illegal_element_attribute»`<%name%>` does not support non-event attributes or spread attributesimport_svelte_internal_forbidden
Заголовок раздела «import_svelte_internal_forbidden»Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use caseinspect_trace_generator
Заголовок раздела «inspect_trace_generator»`$inspect.trace(...)` cannot be used inside a generator functioninspect_trace_invalid_placement
Заголовок раздела «inspect_trace_invalid_placement»`$inspect.trace(...)` must be the first statement of a function bodyinvalid_arguments_usage
Заголовок раздела «invalid_arguments_usage»The arguments keyword cannot be used within the template or at the top level of a componentjs_parse_error
Заголовок раздела «js_parse_error»%message%legacy_await_invalid
Заголовок раздела «legacy_await_invalid»Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless in runes modelegacy_export_invalid
Заголовок раздела «legacy_export_invalid»Cannot use `export let` in runes mode — use `$props()` insteadlegacy_props_invalid
Заголовок раздела «legacy_props_invalid»Cannot use `$$props` in runes modelegacy_reactive_statement_invalid
Заголовок раздела «legacy_reactive_statement_invalid»`$:` is not allowed in runes mode, use `$derived` or `$effect` insteadlegacy_rest_props_invalid
Заголовок раздела «legacy_rest_props_invalid»Cannot use `$$restProps` in runes modelet_directive_invalid_placement
Заголовок раздела «let_directive_invalid_placement»`let:` directive at invalid positionmixed_event_handler_syntaxes
Заголовок раздела «mixed_event_handler_syntaxes»Mixing old (on:%name%) and new syntaxes for event handling is not allowed. Use only the on%name% syntaxmodule_illegal_default_export
Заголовок раздела «module_illegal_default_export»A component cannot have a default exportnode_invalid_placement
Заголовок раздела «node_invalid_placement»%message%. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.HTML накладывает ограничения на то, где могут находиться определённые элементы. В случае нарушения этих правил браузер «исправит» HTML таким образом, что это нарушит ожидания Svelte относительно структуры ваших компонентов. Некоторые примеры:
<p>привет, <div>мир</div></p>превратится в<p>привет, </p><div>мир</div><p></p>(тег<div>автоматически закрыл<p>, так как<p>не может содержать блочные элементы)<option><div>вариант a</div></option>превратится в<option>вариант a</option>(тег<div>будет удалён)<table><tr><td>ячейка</td></tr></table>превратится в<table><tbody><tr><td>ячейка</td></tr></tbody></table>(тег<tbody>будет добавлен автоматически)
options_invalid_value
Заголовок раздела «options_invalid_value»Invalid compiler option: %details%options_removed
Заголовок раздела «options_removed»Invalid compiler option: %details%options_unrecognised
Заголовок раздела «options_unrecognised»Unrecognised compiler option %keypath%props_duplicate
Заголовок раздела «props_duplicate»Cannot use `%rune%()` more than onceprops_id_invalid_placement
Заголовок раздела «props_id_invalid_placement»`$props.id()` can only be used at the top level of components as a variable declaration initializerprops_illegal_name
Заголовок раздела «props_illegal_name»Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)props_invalid_identifier
Заголовок раздела «props_invalid_identifier»`$props()` can only be used with an object destructuring patternprops_invalid_pattern
Заголовок раздела «props_invalid_pattern»`$props()` assignment must not contain nested properties or computed keysprops_invalid_placement
Заголовок раздела «props_invalid_placement»`$props()` can only be used at the top level of components as a variable declaration initializerreactive_declaration_cycle
Заголовок раздела «reactive_declaration_cycle»Cyclical dependency detected: %cycle%render_tag_invalid_call_expression
Заголовок раздела «render_tag_invalid_call_expression»Calling a snippet function using apply, bind or call is not allowedrender_tag_invalid_expression
Заголовок раздела «render_tag_invalid_expression»`{@render ...}` tags can only contain call expressionsrender_tag_invalid_spread_argument
Заголовок раздела «render_tag_invalid_spread_argument»cannot use spread arguments in `{@render ...}` tagsrune_invalid_arguments
Заголовок раздела «rune_invalid_arguments»`%rune%` cannot be called with argumentsrune_invalid_arguments_length
Заголовок раздела «rune_invalid_arguments_length»`%rune%` must be called with %args%rune_invalid_computed_property
Заголовок раздела «rune_invalid_computed_property»Cannot access a computed property of a runerune_invalid_name
Заголовок раздела «rune_invalid_name»`%name%` is not a valid runerune_invalid_spread
Заголовок раздела «rune_invalid_spread»`%rune%` cannot be called with a spread argumentrune_invalid_usage
Заголовок раздела «rune_invalid_usage»Cannot use `%rune%` rune in non-runes moderune_missing_parentheses
Заголовок раздела «rune_missing_parentheses»Cannot use rune without parenthesesrune_removed
Заголовок раздела «rune_removed»The `%name%` rune has been removedrune_renamed
Заголовок раздела «rune_renamed»`%name%` is now `%replacement%`runes_mode_invalid_import
Заголовок раздела «runes_mode_invalid_import»%name% cannot be used in runes modescript_duplicate
Заголовок раздела «script_duplicate»A component can have a single top-level `<script>` element and/or a single top-level `<script module>` elementscript_invalid_attribute_value
Заголовок раздела «script_invalid_attribute_value»If the `%name%` attribute is supplied, it must be a boolean attributescript_invalid_context
Заголовок раздела «script_invalid_context»If the context attribute is supplied, its value must be "module"script_reserved_attribute
Заголовок раздела «script_reserved_attribute»The `%name%` attribute is reserved and cannot be usedslot_attribute_duplicate
Заголовок раздела «slot_attribute_duplicate»Duplicate slot name '%name%' in <%component%>slot_attribute_invalid
Заголовок раздела «slot_attribute_invalid»slot attribute must be a static valueslot_attribute_invalid_placement
Заголовок раздела «slot_attribute_invalid_placement»Element with a slot='...' attribute must be a child of a component or a descendant of a custom elementslot_default_duplicate
Заголовок раздела «slot_default_duplicate»Found default slot content alongside an explicit slot="default"slot_element_invalid_attribute
Заголовок раздела «slot_element_invalid_attribute»`<slot>` can only receive attributes and (optionally) let directivesslot_element_invalid_name
Заголовок раздела «slot_element_invalid_name»slot attribute must be a static valueslot_element_invalid_name_default
Заголовок раздела «slot_element_invalid_name_default»`default` is a reserved word — it cannot be used as a slot nameslot_snippet_conflict
Заголовок раздела «slot_snippet_conflict»Cannot use `<slot>` syntax and `{@render ...}` tags in the same component. Migrate towards `{@render ...}` tags completelysnippet_conflict
Заголовок раздела «snippet_conflict»Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet blocksnippet_invalid_export
Заголовок раздела «snippet_invalid_export»An exported snippet can only reference things declared in a `<script module>`, or other exportable snippetsМожно экспортировать сниппет из блока <script module>, но только если он не ссылается на что-либо, определённое внутри обычного (не модульного) блока <script>. Например, так делать нельзя:
<script module> export { greeting };</script>
<script> let message = 'привет';</script>
{#snippet greeting(name)} <p>{message}, {name}!</p>{/snippet}…потому что greeting ссылается на переменную message, которая определена во втором блоке <script>.
snippet_invalid_rest_parameter
Заголовок раздела «snippet_invalid_rest_parameter»Snippets do not support rest parameters; use an array insteadsnippet_parameter_assignment
Заголовок раздела «snippet_parameter_assignment»Cannot reassign or bind to snippet parametersnippet_shadowing_prop
Заголовок раздела «snippet_shadowing_prop»This snippet is shadowing the prop `%prop%` with the same namestate_field_duplicate
Заголовок раздела «state_field_duplicate»`%name%` has already been declared on this classПрисваивание полю класса, которое использует руну $state или $derived, считается объявлением поля состояния. Объявление может происходить в теле класса…
class Counter { count = $state(0);}…или внутри конструктора…
class Counter { constructor() { this.count = $state(0); }}…но это может происходить только один раз.
state_field_invalid_assignment
Заголовок раздела «state_field_invalid_assignment»Cannot assign to a state field before its declarationstate_invalid_export
Заголовок раздела «state_invalid_export»Cannot export state from a module if it is reassigned. Either export a function returning the state value or only mutate the state value's propertiesstate_invalid_placement
Заголовок раздела «state_invalid_placement»`%rune%(...)` can only be used as a variable declaration initializer, a class field declaration, or the first assignment to a class field at the top level of the constructor.store_invalid_scoped_subscription
Заголовок раздела «store_invalid_scoped_subscription»Cannot subscribe to stores that are not declared at the top level of the componentstore_invalid_subscription
Заголовок раздела «store_invalid_subscription»Cannot reference store value inside `<script module>`store_invalid_subscription_module
Заголовок раздела «store_invalid_subscription_module»Cannot reference store value outside a `.svelte` fileИспользование префикса $ для обращения к значению хранилища возможно только внутри файлов .svelte, где Svelte может автоматически управлять подписками при монтировании компонента и отписываться при его размонтировании. Вместо этого рекомендуется перейти на руны.
style_directive_invalid_modifier
Заголовок раздела «style_directive_invalid_modifier»`style:` directive can only use the `important` modifierstyle_duplicate
Заголовок раздела «style_duplicate»A component can have a single top-level `<style>` elementsvelte_body_illegal_attribute
Заголовок раздела «svelte_body_illegal_attribute»`<svelte:body>` does not support non-event attributes or spread attributessvelte_boundary_invalid_attribute
Заголовок раздела «svelte_boundary_invalid_attribute»Valid attributes on `<svelte:boundary>` are `onerror` and `failed`svelte_boundary_invalid_attribute_value
Заголовок раздела «svelte_boundary_invalid_attribute_value»Attribute value must be a non-string expressionsvelte_component_invalid_this
Заголовок раздела «svelte_component_invalid_this»Invalid component definition — must be an `{expression}`svelte_component_missing_this
Заголовок раздела «svelte_component_missing_this»`<svelte:component>` must have a 'this' attributesvelte_element_missing_this
Заголовок раздела «svelte_element_missing_this»`<svelte:element>` must have a 'this' attribute with a valuesvelte_fragment_invalid_attribute
Заголовок раздела «svelte_fragment_invalid_attribute»`<svelte:fragment>` can only have a slot attribute and (optionally) a let: directivesvelte_fragment_invalid_placement
Заголовок раздела «svelte_fragment_invalid_placement»`<svelte:fragment>` must be the direct child of a componentsvelte_head_illegal_attribute
Заголовок раздела «svelte_head_illegal_attribute»`<svelte:head>` cannot have attributes nor directivessvelte_meta_duplicate
Заголовок раздела «svelte_meta_duplicate»A component can only have one `<%name%>` elementsvelte_meta_invalid_content
Заголовок раздела «svelte_meta_invalid_content»<%name%> cannot have childrensvelte_meta_invalid_placement
Заголовок раздела «svelte_meta_invalid_placement»`<%name%>` tags cannot be inside elements or blockssvelte_meta_invalid_tag
Заголовок раздела «svelte_meta_invalid_tag»Valid `<svelte:...>` tag names are %list%svelte_options_deprecated_tag
Заголовок раздела «svelte_options_deprecated_tag»"tag" option is deprecated — use "customElement" insteadsvelte_options_invalid_attribute
Заголовок раздела «svelte_options_invalid_attribute»`<svelte:options>` can only receive static attributessvelte_options_invalid_attribute_value
Заголовок раздела «svelte_options_invalid_attribute_value»Value must be %list%, if specifiedsvelte_options_invalid_customelement
Заголовок раздела «svelte_options_invalid_customelement»"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }svelte_options_invalid_customelement_props
Заголовок раздела «svelte_options_invalid_customelement_props»"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"svelte_options_invalid_customelement_shadow
Заголовок раздела «svelte_options_invalid_customelement_shadow»"shadow" must be either "open" or "none"svelte_options_invalid_tagname
Заголовок раздела «svelte_options_invalid_tagname»Tag name must be lowercase and hyphenatedПодробнее о допустимых именах пользовательских элементов можно узнать в спецификации HTML
svelte_options_reserved_tagname
Заголовок раздела «svelte_options_reserved_tagname»Tag name is reservedПодробнее о допустимых именах пользовательских элементов можно узнать в спецификации HTML
svelte_options_unknown_attribute
Заголовок раздела «svelte_options_unknown_attribute»`<svelte:options>` unknown attribute '%name%'svelte_self_invalid_placement
Заголовок раздела «svelte_self_invalid_placement»`<svelte:self>` components can only exist inside `{#if}` blocks, `{#each}` blocks, `{#snippet}` blocks or slots passed to componentstag_invalid_name
Заголовок раздела «tag_invalid_name»Expected a valid element or component name. Components must have a valid variable name or dot notation expressiontag_invalid_placement
Заголовок раздела «tag_invalid_placement»{@%name% ...} tag cannot be %location%textarea_invalid_content
Заголовок раздела «textarea_invalid_content»A `<textarea>` can have either a value attribute or (equivalently) child content, but not bothtitle_illegal_attribute
Заголовок раздела «title_illegal_attribute»`<title>` cannot have attributes nor directivestitle_invalid_content
Заголовок раздела «title_invalid_content»`<title>` can only contain text and {tags}transition_conflict
Заголовок раздела «transition_conflict»Cannot use `%type%:` alongside existing `%existing%:` directivetransition_duplicate
Заголовок раздела «transition_duplicate»Cannot use multiple `%type%:` directives on a single elementtypescript_invalid_feature
Заголовок раздела «typescript_invalid_feature»TypeScript language features like %feature% are not natively supported, and their use is generally discouraged. Outside of `<script>` tags, these features are not supported. For use within `<script>` tags, you will need to use a preprocessor to convert it to JavaScript before it gets passed to the Svelte compiler. If you are using `vitePreprocess`, make sure to specifically enable preprocessing script tags (`vitePreprocess({ script: true })`)unexpected_eof
Заголовок раздела «unexpected_eof»Unexpected end of inputunexpected_reserved_word
Заголовок раздела «unexpected_reserved_word»'%word%' is a reserved word in JavaScript and cannot be used hereunterminated_string_constant
Заголовок раздела «unterminated_string_constant»Unterminated string constantvoid_element_invalid_content
Заголовок раздела «void_element_invalid_content»Void elements cannot have children or closing tags