Closed jbk2 closed 5 months ago
Hey could you provide a clonable repo I can reproduce this in?
You say you're using Tailwind CSS v2.2.0 but Intellisense seems to think it's Tailwind CSS v3.1.6 so having a repo would be the best way to troubleshoot what's happening.
Ah, I figured it out!
@tailwindcss/container-queries
plugin to your configOur plugin, @tailwindcss/container-queries
, requires at least Tailwind CSS v3.2 so you'll want to upgrade:
npm install tailwindcss@latest
Ahh, you’re my hero Jordan, that’s sorted the problem exactly as you though it would. Thank you very much indeed 👍🏻.
From: Jordan Pittman @.> Reply to: tailwindlabs/tailwindcss-intellisense @.> Date: Tuesday, 16 January 2024 at 22:53 To: tailwindlabs/tailwindcss-intellisense @.> Cc: "J.B.Kemp - Bibble" @.>, Author @.***> Subject: Re: [tailwindlabs/tailwindcss-intellisense] [config/tailwind.config.js] Building... [Error] Tailwind CSS: n is not a function TypeError: n is not a function (Issue #900)
Ah, I figured it out!
Our plugin, @tailwindcss/container-queries, requires at least Tailwind CSS v3.2 so you'll want to upgrade:
npm install @.***
— Reply to this email directly, view it on GitHubhttps://github.com/tailwindlabs/tailwindcss-intellisense/issues/900#issuecomment-1894574806, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZUZJB46TXBXFQDBZCUGNTYO3ZFVAVCNFSM6AAAAABBSAXIMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGU3TIOBQGY. You are receiving this because you authored the thread.Message ID: @.***>
What version of VS Code are you using? - v1.85.1
What version of Tailwind CSS IntelliSense are you using? - v0.10.5
What version of Tailwind CSS are you using? - v2.2.0
What package manager are you using? - npm
What operating system are you using? - macOS - 14.2.1
Tailwind config
VS Code settings
Reproduction URL
Sorry, don't know how to link you to my env with the not working intellisense. See issue report below.
Describe your issue
Intellisense Tailwindcss class autopredict/autocomplete feature not working in any file format (html, html.erb, css) despite many settings.json changes. Error message below reported in VScode output: