Open ranjithvbr opened 3 years ago
Same problem :(
Install postcss as dev dependency
If you're receiving the error message "PostCSS plugin postcss-modules requires PostCSS 8," it means that the version of PostCSS that you have installed is not compatible with the postcss-modules plugin that you're using.
To fix this error, you can upgrade your version of PostCSS to version 8. You can do this by running the following command in your terminal:
npm install postcss@^8.0.0
This command will update your installation of PostCSS to the latest version of version 8.x. After running this command, you should be able to use the postcss-modules plugin without any issues.
Current Behavior
Create a new project with react template:
npx tsdx create mylib
after I installed all for postcss, I'm facing this issue
package.json
tsdx.config.js
Did I miss something?