Skip to content

[V4] - Loading PostCSS Plugin failed: The URL must be of scheme file #15004

@ranseur92

Description

@ranseur92

What version of Tailwind CSS are you using?

4.0.0-alpha.21 onwards

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

Vite ^5.4.8

What version of Node.js are you using?

v22.11.0

What browser are you using?

Edge

What operating system are you using?

Windows 11

Reproduction URL

https://github.com/ranseur92/twind-test

Describe your issue

Cannot get any version higher than v4 Alpha 20 to work, within a AdonisJS + InertiaJS setup.

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: D:/JS/twind-test): [Error] Loading PostCSS Plugin failed: The URL must be of scheme file

(@D:\JS\twind-test\postcss.config.cjs)
Error: Loading PostCSS Plugin failed: The URL must be of scheme file

I'm guessing the underlying issue, is related to #14420 but that fix isn't appropriate in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions