原版的报错如下
Administrator@DESKTOP-EHCTIOR MINGW64 /e/821box/react-vw-layout (master)
$ yarn start
yarn run v1.17.3
$ node scripts/start.js
Starting the development server...
Failed to compile.
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
Error: Cannot load preset "advanced". Please check your configuration for errors and try again.
解决办法为
cnpm i cssnano-preset-advanced --save-dev
再运行项目就是ok的