error evaluating function darken: color.toHSL is not a function
umi-plugin-polyfills has been deprecated. use config.targets instead.
Tapable.plugin is deprecated. Use new API on .hooks instead
Without from option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path
or to undefined to prevent this warning.
但不影响使用
🐛 bug 描述
新下载v2版本,安装完依赖后,启动编译会报多个错误:
darken
: color.toHSL is not a function.hooks
insteadfrom
option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or toundefined
to prevent this warning. 但不影响使用📷 复现步骤
通过git clone --depth=1 https://github.com/ant-design/ant-design-pro.git my-project -b v2下载项目,安装依赖,npm start启动,编译会出现多个问题。
🏞 期望结果
正常编译,不会出现该错误
💻 复现代码
© 版本信息
🚑 其他信息