Skip to content
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

Run configuration is gray. how to config bazel run configuration? #7

Open
Jungle666 opened this issue Dec 20, 2021 · 2 comments
Open

Comments

@Jungle666
Copy link

First,I can only run debug application.
image

After run debug, consule show that:
Error running 'Bazel run eplus-data-pull:eplus-data-pull': Cannot run program "\bin\bash" (in directory "\wsl$\Ubuntu\home\jungleliu\git\yak2"): CreateProcess error=2, The system can not find the file specified.
image

how should i do next?

@dpoluyanov
Copy link
Owner

As I see it tries to run saved configuration, probably from previous Bazel-for-windows starts.
Could you remove all run configurations from IntelliJ for given project and try to run it again?

@dpoluyanov
Copy link
Owner

There is similar issue #8 which was fixed by adding blaze.experiment.java.hotswapping.enabled=0 java.hotswapping.enabled=0 into IntelliJ IDEA custom properties (idea.properties) so give it a try, probably it'll fix issue with \bin\bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants