"Tailwind CSS IntelliSense" for VS Code

Solved
d3ddev

Apr 13th, 2022 02:38 AM

Hey, I want to use "Tailwind CSS IntelliSense" for VS Code, but I get this error. Looks like some custom form can't be resolved in wave/docs.

Found Tailwind CSS config file: /home/master/applications/axducarxbc/public_html/wave/docs/tailwind.config.js
Loaded postcss v8.4.11: userPath/public_html/node_modules/postcss
Loaded tailwindcss v3.0.23: userPath/public_html/node_modules/tailwindcss
[Error - 9:36:04 AM] Tailwind CSS: Can't resolve '@tailwindcss/custom-forms' in 'userPath/public_html/wave/docs'
Error: Can't resolve '@tailwindcss/custom-forms' in 'userPath/public_html/wave/docs'
    at l (/home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:77251)
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:77938
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:78502
    at eval (eval at create (/home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:50:275635), <anonymous>:15:1)
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:78502
    at eval (eval at create (/home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:50:275635), <anonymous>:27:1)
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:64324
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:78502
    at eval (eval at create (/home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:50:275635), <anonymous>:15:1)
    at /home/master/.vscode-server/extensions/bradlc.vscode-tailwindcss-0.7.7/dist/server/tailwindServer.js:2:78502
bobbyiliev

Apr 13th, 2022 04:06 AM

Best Answer

Hey!

Thanks for reporting that! Just submitted a PR with a fix for this:

https://github.com/thedevdojo/wave/pull/44

Feel free to take the changed files, eg. the package.json and the tailwind.config.js files from that PR and add them to your repo as a quick fix.

d3ddev

Apr 13th, 2022 05:13 AM

It's working and no Errors. Well done Bobby. https://i.imgur.com/IvE9N9v.png

Report
1
bobbyiliev

Apr 13th, 2022 05:14 AM

Sweet! Looks great! 🤩