bazelbuild/bazel

Help needed in getting bazel build command working on Windows from a mapped network drive

Open

#28321 opened on Jan 16, 2026

View on GitHub
 (20 comments) (0 reactions) (0 assignees)Java (25,384 stars) (4,465 forks)batch import
P3area-Windowsawaiting-user-responsehelp wantedteam-OSS

Description

Can someone provide me guidance on how to invoke bazel from a mapped network drive that holds my bazel workspace?

I have a very simple setup based on the Bazel tutorial examples mentioned here : https://bazel.build/start/cpp This setup along with the examples of bazel build works from my local drive but when I move this setup to the network drive and run bazel build command from the workspace directory the bazel command just stalls. I have observed that when I do this the bazel server doesn't even start.

When I examine the command text file created in output base directory, within the server directory I see that the workspace-directory option to the bazel server command was empty. Has anyone seen this before and has recommendations on how to proceed?

Please let me know if more details are needed.

Contributor guide