mzohaibqc / antd-theme-generator

This script is to generate color.less file to update color related css in browser.
https://mzohaibqc.github.io/antd-theme-generator/
358 stars 87 forks source link

antd after update to 4.17.2, generatorTheme will report Error #100

Closed cl1107 closed 2 years ago

cl1107 commented 2 years ago

Describe the bug antd updated to 4.17.2, generatorTheme will report Error: ENOENT: no such file or directory, open '{folder}/node_modules/antd/lib/style/themes/@{root-entry-name}.less'

yuepu commented 2 years ago

me,too

"antd": "^4.15.5",

daichuqi commented 2 years ago

+1

cl1107 commented 2 years ago

temporary fix: node_modules/less-bundle-promise/lib/buildcontents.js line 32 add hashPath = hashPath.replace(/@{root-entry-name}/g, 'default'); image

ghost commented 2 years ago

same here

rafaelncarvalho commented 2 years ago

I have the same problem too

wkylin commented 2 years ago

I have the same problem too

yudidayeye commented 2 years ago

+1

iaminnasr commented 2 years ago

same here

gzhanghui commented 2 years ago

+1

mzohaibqc commented 2 years ago

@cl1107 @yuepu @daichuqi @aniznik1 @rafaelncarvalho @yudidayeye @iaminnasr @gzhanghui This issue has been fixed in version 1.2.11

Install new version antd-theme-generator@1.2.11