---
title: "SW32005: CSS loader already completed"
description: "An answer reached the stylesheet loader after it finished loading."
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.

# SW32005: CSS loader already completed

This error occurs when an integration calls `provide` on a stylesheet loader that
has already finished. A finished loader does not accept late answers or new
revisions of a stylesheet.

## Reported

```ts
import { NativeDesignSystemLoader } from "@stillwind/native";

const loader = new NativeDesignSystemLoader();
loader.provide(0, "root.css", ".card { color: red; }");
loader.provide(0, "root.css", ".card { color: blue; }");
```

> SW32005: provide called after completion

## Fixed

```ts
import { NativeDesignSystemLoader } from "@stillwind/native";

const loader = new NativeDesignSystemLoader();
loader.provide(0, "root.css", ".card { color: red; }");
const next = loader.newLoader();
next.provide(0, "root.css", ".card { color: blue; }");
```

## How to fix

- With an official integration, update the Stillwind packages. If the error
  remains, report it.
- In your own integration, cancel or ignore pending file reads when a load ends,
  and keep the answers of each load separate.

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