Created
August 26, 2021 11:49
-
-
Save veena14cs/86b9816de16e993b5654d822689e4b59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bazel run @unpinned_maven//:pin | |
INFO: Repository maven instantiated at: | |
C:/users/veena/documents/github/oppia-android/WORKSPACE:160:14: in <toplevel> | |
C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/defs.bzl:143:30: in maven_install | |
Repository rule pinned_coursier_fetch defined at: | |
C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/coursier.bzl:1055:40: in <toplevel> | |
DEBUG: C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/third_party/bazel_json/lib/json_parser.bzl:840:18: JSON parsing failed. None | |
ERROR: An error occurred during the fetch of repository 'maven': | |
Traceback (most recent call last): | |
File "C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/coursier.bzl", line 373, column 13, in _pinned_coursier_fetch_impl | |
fail("Failed to parse %s. Is this file valid JSON? The file may have been corrupted." % repository_ctx.path(repository_ctx.attr.maven_install_json) + | |
Error in fail: Failed to parse C:/users/veena/documents/github/oppia-android/third_party/maven_install.json. Is this file valid JSON? The file may have been corrupted.Conside | |
r regenerating maven_install.json with the following steps: | |
1. Remove the maven_install_json attribute from your `maven_install` declaration for `@maven`. | |
2. Regenerate `maven_install.json` by running the command: bazel run @maven//:pin 3. Add `maven_install_json = "//:maven_install.json"` into your `maven_install` declarati | |
on. | |
ERROR: C:/users/veena/documents/github/oppia-android/WORKSPACE:160:14: fetching pinned_coursier_fetch rule //external:maven: Traceback (most recent call last): | |
File "C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/coursier.bzl", line 373, column 13, in _pinned_coursier_fetch_impl | |
fail("Failed to parse %s. Is this file valid JSON? The file may have been corrupted." % repository_ctx.path(repository_ctx.attr.maven_install_json) + | |
Error in fail: Failed to parse C:/users/veena/documents/github/oppia-android/third_party/maven_install.json. Is this file valid JSON? The file may have been corrupted.Conside | |
r regenerating maven_install.json with the following steps: | |
1. Remove the maven_install_json attribute from your `maven_install` declaration for `@maven`. | |
2. Regenerate `maven_install.json` by running the command: bazel run @maven//:pin 3. Add `maven_install_json = "//:maven_install.json"` into your `maven_install` declarati | |
on. | |
ERROR: no such package '@maven//': Failed to parse C:/users/veena/documents/github/oppia-android/third_party/maven_install.json. Is this file valid JSON? The file may have be | |
en corrupted.Consider regenerating maven_install.json with the following steps: | |
1. Remove the maven_install_json attribute from your `maven_install` declaration for `@maven`. | |
2. Regenerate `maven_install.json` by running the command: bazel run @maven//:pin 3. Add `maven_install_json = "//:maven_install.json"` into your `maven_install` declarati | |
on. | |
INFO: Elapsed time: 2.318s | |
INFO: 0 processes. | |
FAILED: Build did NOT complete successfully (0 packages loaded) | |
FAILED: Build did NOT complete successfully (0 packages loaded) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment