-
Notifications
You must be signed in to change notification settings - Fork 219
v0.12.7 broken #1033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
me too, downgrade v0.12.6 |
same here, not working inside vue templates, tried a few other suggestions in other issues, not fixed, downgrade to 12.6 restores functionality |
me too, downgrade v0.12.6 |
fwiw deleting the comments in my angular project's styles.scss file and restarting the extension fixed it. but I just rolled back the extension instead. |
I also facing this issue. Downgrade v0.12.6 is working fine. |
Same here, if it helps v0.12.7 started erroring when scanning my SCSS files with the following error:
|
i had the same problem |
👍 - but I get it in the Zed editor from the plain |
Like the comment above suggested, deleting inline comments ( |
@craxrev - problem (at least for me) is that many scss files that have comments are in my vendor folder, so not mine, and will get re-written on an update and fail. Whatever parser they are using is apparently not detecting // or /* comments. |
OMG, all morning wasted trying to figure this one out 🤬. |
me too, downgrade v0.12.6 |
Me too, downgrade v0.12.6 |
same => downgrade v0.12.6 |
Wasted a couple of hours on this, downgrade the version |
Same problem here. downgrade works |
Fixes: #1033 Fixes: #1034 Fixes: #1035 Fixes: #1036 Fixes: #1037 Fixes: #1038 Fixes: #1039 Fixes: #1040 Fixes: #1041 Fixes: #1042 Fixes: tailwindlabs/tailwindcss#14274 When we worked on #1030, we added a new `postcss` run inside the project locator. Unfortunately this can crash (e.g. when non standard CSS features are discovered like those in a `.sass` or `.scss` file) which currently breaks the whole project locator step, making the extension not work anymore as soon as such a file is detected. The short term fix here is to handle this error. In the very future we have to replace this postcss step anyways because now that Tailwind v4 supports plugins and JS config files, we need to be able to execute the config to get the proper sources. ## Before <img width="659" alt="before" src="https://github.com/user-attachments/assets/8f86e70d-66c2-40a1-ba97-9f4b9b018c94"> ## After <img width="656" alt="after" src="https://github.com/user-attachments/assets/bfd17b72-c748-4ea9-b73d-86c444cda16a">
Hey all! Thanks for reporting this and sorry for the troubles! We just released v0.12.8 of the VS Code extension with a fix that resolves this issue. If you still have issues, please let us know! |
I got the exact same error when using this version: I suspect the way to replicate this issue is to put TW config, input.css and some TSX file in mismatching locations. My repo uses a
... Now open I "fixed it" by moving both |
This is happening again in a Nrwl Nx Angular monorepo project. Seems the problem started with Tailwind 4 and Intellisense plugin version 0.14.2. Version 0.14.1 works as expected while newer versions beyond that fail with the following message:
|
The problem still occurs in tailwindcss v4 |
Version v0.12.6 works for me, thanks to those who suggested it earlier. I don't understand what the heck Tailwind is doing with the new versions anymore. |
same => downgrade v0.14.11 |
For me, create a new css file under the project root floder, e.g src/style.css, copy this |
I found that changing the SCSS file to a CSS file resolved the issue. |
for me that was because i used postcss.config.mjs instead of postcss.config.js with cjs export |
Most recent version that works for me is 0.14.16 |
Uh oh!
There was an error while loading. Please reload this page.
Installed it just now and I'm not getting any intellisense suggestions and the console complains about the following:
[GLOBAL] No matching project for document
I closed all VS Code windows and terminated the VS Code by "Quitting" my app in my Mac app bar at the bottom.
I reverted back to v0.12.6 and now the extension works again.
Edit: For those that don't know; right click the extension in VS Code Extensions Marketplace and select "Install Specific Version..." and select v0.12.6 to get it working again.
The text was updated successfully, but these errors were encountered: