Skip to content

v4.3.1 CLI fails with [Error: Invalid handle] when @source present #20231

@alesvaupotic

Description

@alesvaupotic

What version of Tailwind CSS are you using?

v4.3.1

What build tool (or framework if it abstracts the build tool) are you using?

tailwindcss -i ./css/app.css -o ./static/app-dev.css --watch --verbose

What version of Node.js are you using?

v26.1.0

What browser are you using?

N/A

What operating system are you using?

Windows

Reproduction URL

https://github.com/reepolee/tw-431

Describe your issue

@import "tailwindcss";
@source "src/**/*";

When running CLI on css file with @source in it, build fails with error message

$ tailwindcss -i ./css/app.css -o ./static/app-dev.css --watch --verbose
≈ tailwindcss v4.3.1

node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

[Error: Invalid handle]

Node.js v26.1.0
error: script "css:watch" exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions