Closed sebpowell closed 6 months ago
Downgrade the tailwind version to 3.3.*
# Yarn 2+
yarn add 'typewind@https://gitpkg.now.sh/mutewinter/typewind/packages/typewind?fix-tailwind-3.4-build'
# Yarn 1
yarn add 'https://gitpkg.now.sh/mutewinter/typewind/packages/typewind?fix-tailwind-3.4-build'
# NPM
npm install 'https://gitpkg.now.sh/mutewinter/typewind/packages/typewind?fix-tailwind-3.4-build'
Hi, thanks for reporting! This is definitely an issue with Typewind, and #57 fixes it 🙂
Hi there,
Thanks for this package, I was just playing around with it and it looks really great.
I've been having an issue however when running a type check on my project. I was able to get everything working, but when I run a typecheck like so:
tsc --noEmit
, I get the following error:If I look at the file in questions, it doesn't seem to be valid TS:
I initially thought it might be an issue with my project, but I was able to replicate this error using the the Next.js example provided here: https://typewind.vercel.app/docs/examples/next
I downloaded the repo, and then tried running the typecheck as described above, and got the same error.
Any ideas what the problem might be? As far as I'm aware, the syntax the package is generating is not valid TS, irrespective of version, so not sure what the problem is. Thank you in advance.