You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to load the repository in a bazel workspace file in windows and I was getting an error while fetching the repository. I was wondering if anyone had any idea why this was happening.
Here's the error:
Error in fail: error running 'git init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost' while working with @com_github_nelhage_rules_boost:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost): The system cannot find the file specified.
(error: 2)
ERROR: no such package '@com_github_nelhage_rules_boost//boost': error running 'git init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost' while working with @com_github_nelhage_rules_boost:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost): The system cannot find the file specified.
(error: 2)
Here's the code in the workspace file for loading this repo:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost): The system cannot find the file specified.
suggests to me you don't have git installed, or perhaps not in your PATH?
I was trying to load the repository in a bazel workspace file in windows and I was getting an error while fetching the repository. I was wondering if anyone had any idea why this was happening.
Here's the error:
Error in fail: error running 'git init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost' while working with @com_github_nelhage_rules_boost:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost): The system cannot find the file specified.
(error: 2)
ERROR: no such package '@com_github_nelhage_rules_boost//boost': error running 'git init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost' while working with @com_github_nelhage_rules_boost:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/panda/_bazel_panda/un2rq2hy/external/com_github_nelhage_rules_boost): The system cannot find the file specified.
(error: 2)
Here's the code in the workspace file for loading this repo:
git_repository(
name = "com_github_nelhage_rules_boost",
commit = "1e3a69bf2d5cd10c34b74f066054cd335d033d71",
remote = "https://github.com/nelhage/rules_boost",
shallow_since = "1591047380 -0700",
)
load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps")
boost_deps()
The text was updated successfully, but these errors were encountered: