Open yzz3730781 opened 3 years ago
e.g: [LessError: variable @ant-prefix is undefined] { message: 'variable @ant-prefix is undefined', stack: undefined, type: 'Name', filename: 'E:\testProject\react-init-project\node_modules\_antd-pro-merge-less@2.0.12@antd-pro-merge-less\.temp\antd.less', index: 115, line: 4, column: 7, callLine: NaN, callExtract: undefined, extract: [ ' @import "../color/tinyColor";', ' .@{ant-prefix}-affix {', ' z-index: @zindex-affix;' ]
i cnpm install dependencies package after i delete project old node_module ,this problem happened
我也遇到了 不知道怎么解决
e.g: [LessError: variable @ant-prefix is undefined] { message: 'variable @ant-prefix is undefined', stack: undefined, type: 'Name', filename: 'E:\testProject\react-init-project\node_modules\_antd-pro-merge-less@2.0.12@antd-pro-merge-less\.temp\antd.less', index: 115, line: 4, column: 7, callLine: NaN, callExtract: undefined, extract: [ ' @import "../color/tinyColor";', ' .@{ant-prefix}-affix {', ' z-index: @zindex-affix;' ]