build less, Operation on an invalid type, No errors in lower version #20088
Labels
area: @angular-devkit/build-angular
devkit/build-angular:browser
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 bug report
Affected Package
The issue is caused by package @angular/...."@angular-devkit/build-angular": "~0.1100.7",
"@angular/cli": "~11.1.4",
"@angular/compiler-cli": "~11.1.2",
no error
"@angular-devkit/build-angular": "^0.1102.1",
"@angular/cli": "^11.2.1",
"@angular/compiler-cli": "^11.2.1",
have error
Is this a regression?
"@angular-devkit/build-angular": "~0.1100.7",
build no error
"@angular-devkit/build-angular": "^0.1102.1",
build have error:Operation on an invalid type
Description
Error: ./src/styles.less
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/less-loader/dist/cjs.js):
// ================================================================
.table-size(~'middle', @table-padding-vertical-md, @table-padding-horizontal-md, @table-font-size-md);
^
Operation on an invalid type
Error in E:\Project\testproject1\node_modules\ng-zorro-antd\table\style\size.less (line 53, column 0)
at E:\Project\testproject1\node_modules\webpack\lib\NormalModule.js:316:20
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
Angular Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: