---
title: "SW34001: Missing macro import anchor"
description: "The compiler cannot find the Stillwind import where it must add runtime imports."
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.

# SW34001: Missing macro import anchor

This error occurs when the compiled code needs a runtime or stylesheet import,
but the compiler cannot find the `stillwind` import that it replaces with those
imports. In a component with several script blocks, the import must be in the
same block as the code that uses it.

## 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, keep the Stillwind import in place, and record its
  script block correctly.

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