我正在使用 react-boilerplate [3.5.0] 并尝试安装 react-toolbox。安装后我们应该运行命令npm run build:dll
,现在它给出了错误=>
Building the Webpack DLL...
Your current PostCSS version is 5.2.18, but postcss-modules-scope uses
6.0.17. Perhaps this is the source of the error below.
Hash: dc615358062d53518c9f
Version: webpack 3.5.5
Time: 24479ms
之后,我什至安装了所需的 postcss 版本 [6.0.17],但仍然出现此错误。如果有帮助,这是日志文件。
https://drive.google.com/file/d/1f7qbz4pHCuZC9b6s8NqzZHpFAIMloqLZ/view?usp=sharing