Open wx995405425 opened 3 years ago
@cuth How to solve this problem? Do you need to modify the source code?
postcss is built in vite. I don't want to reinstall postcss.
Try adding Postcss to the package.json of your project.
@cuth It works。Thanks
Help. I got the same problem when running with npm: Syntax Error: Error: PostCSS plugin postcss-pxtorem requires PostCSS 8. And then I add postcss v8.3.0 to the package.json, but it does't work.
PostCSS plugin postcss-pxtorem requires PostCSS 8.
I downloaded postcss-pxtorem@lastest,postcss@lastest,postcss-loader@lastest,But still report an error.
This is my project`s package.json.
The waning
This is this postcss-pxtorem`s package.json
This is this postcss`s package.json