benbiti opened a new issue #5282:
URL: https://github.com/apache/incubator-doris/issues/5282
**Describe the bug**
build ui failed. classnames and react-router missing dependencies
**To Reproduce**
Steps to reproduce the behavior:
./build.sh --ui
**Expected behavior**
Successfully build Doris
**Screenshots**
ERROR in ./src/components/flatbtn/flat-btn.tsx
Module not found: Error: Can't resolve 'classnames' in
'/root/doris/ui/src/components/flatbtn'
@ ./src/components/flatbtn/flat-btn.tsx 31:0-36 37:89-99 39:70-80
@ ./src/components/flatbtn/index.tsx
@ ./src/pages/playground/content/index.tsx
@ ./src/pages/playground/index.tsx
@ ./src/router/index.ts
@ ./src/App.tsx
@ ./src/index.tsx
ERROR in ./node_modules/react-router-config/esm/react-router-config.js
Module not found: Error: Can't resolve 'react-router' in
'/root/doris/ui/node_modules/react-router-config/esm'
@ ./node_modules/react-router-config/esm/react-router-config.js 1:0-64
13:29-38 14:6-12 41:38-44 42:31-36
@ ./src/pages/playground/router.ts
@ ./src/router/index.ts
@ ./src/App.tsx
@ ./src/index.tsx
ERROR in ./src/pages/playground/content/index.tsx
Module not found: Error: Can't resolve 'react-router' in
'/root/doris/ui/src/pages/playground/content'
@ ./src/pages/playground/content/index.tsx 59:0-45 182:28-34 183:32-37
184:32-37
@ ./src/pages/playground/index.tsx
@ ./src/router/index.ts
@ ./src/App.tsx
@ ./src/index.tsx
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]