Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalid or unexpected token: output.css #19106

Closed Unanswered
bfallik asked this question in Help
Discussion options

Chrome reports this error when my page fetches output.css. The output.css file looks like:

/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
...

and the browser complains about the first non-comment line.

I installed the CLI according to these instructions: https://tailwindcss.com/docs/installation/tailwind-cli

My input.css contains:

@import "tailwindcss";

My build step is:

npx @tailwindcss/cli -i ui/css/input.css -o ui/static/css/output.css

Using macOS, I installed npm via brew.

Thanks in advance!

You must be logged in to vote

Replies: 1 comment

Comment options

Answered my own question. Was using the wrong link in my HTML.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /