build theme error @ant-prefix is undefined
yzz3730781 opened this issue · 2 comments
yzz3730781 commented
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;'
]
yzz3730781 commented
i cnpm install dependencies package after i delete project old node_module ,this problem happened
wu-xiaowei commented
我也遇到了 不知道怎么解决