Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Postcss 7 support #19

Closed
coderinblack08 opened this issue Mar 15, 2021 · 5 comments
Closed

Postcss 7 support #19

coderinblack08 opened this issue Mar 15, 2021 · 5 comments

Comments

@coderinblack08
Copy link

Is there or will there be postcss7 support?

@onmax
Copy link

onmax commented Mar 15, 2021

I don't think so: #17 (comment) 😐
Are you getting an error trying to update?
I really want to use this new compiler because I struggle a lot with the dev panel in the browser being buggy. But I am getting this error:

ERROR in ./src/styles.scss (./node_modules/@angular-builders/custom-webpack/node_modules/css-loader/dist/cjs.js??ref--13-1!./node_modules/postcss-loader/src??embedded!./node_modules/resolve-url-loader??ref--13-3!./node_modules/@angular-builders/custom-webpack/node_modules/sass-loader/dist/cjs.js??ref--13-4!./node_modules/postcss-loader/src??postcss!./src/styles.scss)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
Error: PostCSS plugin tailwindcss-jit requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users
    at Processor.normalize (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/processor.js:153:15)
    at new Processor (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/processor.js:56:25)
    at postcss (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/postcss.js:55:10)
    at /home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/src/index.js:140:12
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

ERROR in Module build failed (from ./node_modules/postcss-loader/src/index.js):
Error: PostCSS plugin tailwindcss-jit requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users
    at Processor.normalize (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/processor.js:153:15)
    at new Processor (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/processor.js:56:25)
    at postcss (/home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/node_modules/postcss/lib/postcss.js:55:10)
    at /home/max/dalion/sdk-web-dalion/node_modules/postcss-loader/src/index.js:140:12
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

I was using PostCSS7 before, becuase I was getting the error with the PostCSS8 so I had to follow these instructions: https://tailwindcss.com/docs/installation#post-css-7-compatibility-build
And of course I updated PostCSS: "postcss": "^8.2.8",

@Cragstar
Copy link

Having the same issue

Wonder if installing TW via angular now will help?

@coderinblack08
Copy link
Author

So to wrap this issue up, "Currently the JIT project only supports PostCSS 8, correct. We may do a compat build like we do for Tailwind but not a priority right now".

@vesper8
Copy link

vesper8 commented Mar 18, 2021

I'm so confused because I do have PostCSS 8 installed but I keep getting this error anyway PostCSS plugin tailwindcss-jit requires PostCSS 8

Is something tailwindcss-jit not currently compatible with Vue 2 via vue-cli 4 ?

@nshutijean
Copy link

nshutijean commented Mar 20, 2021

I'm so confused because I do have PostCSS 8 installed but I keep getting this error anyway PostCSS plugin tailwindcss-jit requires PostCSS 8

Is something tailwindcss-jit not currently compatible with Vue 2 via vue-cli 4 ?

Same thing is happening to me as well and i'm using Vue 3 + Typescript. Any workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants