running-elephant / datart

Datart is a next generation Data Visualization Open Platform
https://running-elephant.github.io/datart-docs/
Apache License 2.0
1.99k stars 591 forks source link

[dev][compile] failed #440

Closed Data-bytes305 closed 2 years ago

Data-bytes305 commented 2 years ago

Datart Version 最新dev Describe the bug Failed to compile.

./node_modules/@ant-design/pro-table/es/components/ListToolBar/index.less

&:hover {
  color: @primary-color-hover;
       ^

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:

  1. cd ./datart-dev
  2. mvn package Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Environmental details: (optional, depending on where the bug occurs)

francis-xjl commented 2 years ago

我在编译线上环境也遇到了,我还以为是环境或者依赖版本的问题。希望能解决。

scottsut commented 2 years ago

npm list @ant-design/pro-table 反馈一下 pro-table 的版本

Data-bytes305 commented 2 years ago

以前都是好好的 image

scottsut commented 2 years ago

以前都是好好的

你命令执行错了,少了个e

Data-bytes305 commented 2 years ago

image