Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@import url('@delon/theme/system/index'); 报错 #5

Open
tossp opened this issue Nov 10, 2022 · 0 comments
Open

@import url('@delon/theme/system/index'); 报错 #5

tossp opened this issue Nov 10, 2022 · 0 comments

Comments

@tossp
Copy link

tossp commented Nov 10, 2022

less中用url('@delon/theme/system/index')的写法报错

> ng-alain-plugin-theme -t=colorLess

error TypeError: Cannot read properties of null (reading '1')
    at C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:44:61
    at Array.map (<anonymous>)
    at combineLess (C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:40:41)
    at generateColorMap (C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:76:28)
    at C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:127:30
    at Generator.next (<anonymous>)
    at C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:4:12)
    at generateTheme (C:\Users\ts\proj\html\node_modules\ng-alain-plugin-theme\lib\color-generator.js:124:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant