-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
TypeScript error when adding TailwindCSS (manually, or with svelte-add) #8656
Comments
This is a duplicate of #8650 |
I couldn't reproduce the issue. What version of TypeScript do you have installed? |
4.9.4 |
{ |
You'll get the error in vs code once you view or touch tsconfig.json |
I didn't get the error. What version of TypeScript do you have running in VS Code? #8650 suggests this was a TypeScript 5.0 beta addition. |
Weird, I have been able to reproduce in 3 different repositories, (as well as a branch new one here: https://github.com/engageintellect/sveltekit-1-tailwind) TypeScript version is 4.9.4 |
Everyone who sees this is probably using vs code insiders or sth similar so that they get the latest TS beta version. |
This makes sense. |
Closing as duplicate of #8650 |
Describe the bug
After installing and configuring tailwind, either manually, or with svelte-add, ./tsconfig.json throws the following error:
I initially thought it was an issue with WSL, but have just tested on my mac with same result
Reproduction
npm create svelte@latest my-app
cd my-app
npm install
npm run dev
npm i svelte-add
npx --yes svelte-add@latest tailwindcss
Manual steps, found here: https://tailwindcss.com/docs/guides/sveltekit
Logs
System Info
Severity
annoyance
Additional Information
I know this appears to be a TypeScript issue, but I was unable to recreate in Next 13, so I just thought I would bring to your attention.
Everything appears to work ok...
The text was updated successfully, but these errors were encountered: