Variable @primary-color-hover is undefined
Error in /Users/zy/Downloads/datart-dev/frontend/node_modules/@ant-design/pro-table/es/components/ListToolBar/index.less (line 46, column 13)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! datart@1.0.0 build: cross-env GENERATE_SOURCEMAP=false craco build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the datart@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zy/.npm/_logs/2021-12-23T11_24_27_481Z-debug.log
[ERROR] Command execution failed.
To Reproduce
Steps to reproduce the behavior:
cd ./datart-dev
mvn package
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Environmental details: (optional, depending on where the bug occurs)
OS: mac
Source Database: mysql5.7
Browser: chrome
--node v14.18.2
--npm 6.14.15
Additional context
Add any other context about the problem here.
Datart Version 最新dev Describe the bug Failed to compile.
./node_modules/@ant-design/pro-table/es/components/ListToolBar/index.less
Variable @primary-color-hover is undefined Error in /Users/zy/Downloads/datart-dev/frontend/node_modules/@ant-design/pro-table/es/components/ListToolBar/index.less (line 46, column 13)
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! datart@1.0.0 build:
cross-env GENERATE_SOURCEMAP=false craco build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the datart@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/zy/.npm/_logs/2021-12-23T11_24_27_481Z-debug.log [ERROR] Command execution failed. To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Environmental details: (optional, depending on where the bug occurs)