-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update react-scripts dependency for dashboard #19489
Update react-scripts dependency for dashboard #19489
Conversation
I am not a node expert but I think there are some differences between the different versions of packages in the different containers used to build the dashboard, leading to different demands on the lock file, leading to build failures. The need for dialog when installing nodejs is also a little troubling in the setting-up-gpu-bootstrap-env-docker-tv build, I think it points to a conflict within the packages in the image. Is there a missing
|
Doesn't CI need to install node on windows? ray/ci/travis/install-dependencies.sh Lines 238 to 242 in 4674c78
|
ping @simon-mo |
I tried to fix the linting, do you want to check it @simon-mo ? My TypeScript is a bit non-existent/rusty :P If you know which type to put instead of |
@mattip We also need to compile the dashboard in Windows, but this fix at least makes it compile (and the dashboard work!) on my local windows machine, which is a good first step. |
@pcmoritz for your local windows machine, how did you get nodejs, npm, and typescript installed? I wonder whether we should just try the latest version because these are newer syntax. |
This is how I'm doing it locally: #19480 (comment) If you know where to put the node install for windows I can add that to this PR. |
The code changes are just to make the linter happy after the version upgrade of If you have a better idea to fix this stuff please let me know, I'm not at all married to this fix :) |
sounds good, can you merge master so we know the code changes work in macOS and linux as well? |
Why are these changes needed?
This is needed to build the Ray dashboard on windows.
Without it, I'm getting the following error:
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.