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
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
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