# How to compile ray\[default\]

**URL:** <https://discuss.ray.io/t/how-to-compile-ray-default/7164>\
**Category:** Dashboard, Monitoring & Debugging\
**Created:** [August 11, 2022, 2:21pm UTC](https://discuss.ray.io/t/how-to-compile-ray-default/7164 "2022-08-11T14:21:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZhengSJ](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/zhengsj/32/2998_2.png) [@ZhengSJ](https://discuss.ray.io/u/ZhengSJ)\
**Post date:** [August 11, 2022, 2:21pm UTC](https://discuss.ray.io/t/how-to-compile-ray-default/7164/1 "2022-08-11T14:21:33Z")

</div>

I compiled Ray according to the [doc](https://docs.ray.io/en/latest/ray-contribute/development.html). The code can be run normally, but it will cause the Dashboard to not work properly, the same as just `pip install ray`. So, How to compile `ray[default]`？

---

<div class="post-metadata">

**Author:** ![aguo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/aguo/32/2558_2.png) [@aguo](https://discuss.ray.io/u/aguo)\
**Post date:** [August 26, 2022, 5:13pm UTC](https://discuss.ray.io/t/how-to-compile-ray-default/7164/2 "2022-08-26T17:13:55Z")

</div>

HI @ZhengSJ ,

have you built the frontend dashboard code? You have to run the commands `npm install` and `npm run build` from within the dashboard/client folder.

If that doesn’t help, can you share the `/tmp/ray/session_latest/logs/dashboard.log` and `/tmp/ray/session_latest/logs/dashboard_agent.log` log files here after launching your ray cluster and attempting to visit the dashboard UI.
