intoli / antd-scss-theme-plugin

A Webpack plugin for customizing Ant Design with an SCSS theme file and using Ant Design's compiled variables in SCSS files throughout your project.
https://intoli.com/blog/antd-scss-theme-plugin/
Other
202 stars 81 forks source link

Fails with antd v4.x #121

Open lucasff opened 2 years ago

lucasff commented 2 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: REDACTED@1.14.0
npm ERR! Found: antd@4.21.5
npm ERR! node_modules/antd
npm ERR!   antd@"^4.10.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer antd@"^3.26.6" from @inventium/antd-scss-theme-plugin@1.1.2
npm ERR! node_modules/@inventium/antd-scss-theme-plugin
npm ERR!   dev @inventium/antd-scss-theme-plugin@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/REDACTED/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: