---
title: "SW31004: Invalid converter output syntax"
description: "The script that a converter generated from a valid component has a syntax error."
image: "https://stillwind.dev/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://stillwind.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SW31004: Invalid converter output syntax

This error occurs when a Vue, Svelte, or Astro component is valid, but the script
that the converter generates from it cannot be parsed. The message contains the
explanation from the parser.

## How to fix

- With an official integration, update the Stillwind packages and the framework
  packages. If the error remains, report it with the component.
- In your own converter, fix the generated code, or select the right language
  for the parser.

A syntax error in the component itself is reported as
[SW10002](/docs/errors/SW10002) instead.

Source: https://stillwind.dev/docs/errors/SW31004/index.mdx
