Bug
The log-viewer-webui component does not build, causing the entire build to fail:
> log-viewer-webui-client@0.1.0 build
> tsc -b && vite build --emptyOutDir --outDir /home/junhao/workspace/clp/build/log-viewer-webui/client
src/AntdApp.tsx:1:1 - error TS6133: 'React' is declared but its value is never read.
1 import React from "react";
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ui/MainLayout.tsx:1:8 - error TS6133: 'React' is declared but its value is never read.
1 import React, {useState} from "react";
~~~~~
Found 2 errors.
exit status 2
CLP version
d5726d0
Environment
junhao@GIGABYTE:~/workspace/clp$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
Reproduction steps
- Clone the repo.
- Run
task.
- Observe build failure and error logs are shown as above.
Bug
The log-viewer-webui component does not build, causing the entire build to fail:
CLP version
d5726d0
Environment
Reproduction steps
task.