ValueError: No JSON object could be decoded building Chromium

When building chromium, I get this errors:

[915/51478] ACTION //components/resources:about_credits(//build/toolchain/win:win_clang_x86)
FAILED: gen/components/resources/about_credits.html
C:/Users/duyvk/chromium/depot_tools/bootstrap-2@3_8_10_chromium_23_bin/python/bin/python.exe ../../tools/ --target-os=win --depfile gen/components/resources/about_credits.d credits gen/components/resources/about_credits.html
Traceback (most recent call last):
  File "../../tools/", line 870, in <module>
  File "../../tools/", line 855, in main
  File "../../tools/", line 693, in GenerateCredits
  File "../../tools/", line 533, in FindThirdPartyDirs
    ProcessAdditionalReadmePathsJson(root, dirpath, third_party_dirs)
  File "../../tools/", line 504, in ProcessAdditionalReadmePathsJson
    extra_paths = json.load(paths_file)
  File "", line 291, in load
  File "", line 339, in loads
    return _default_decoder.decode(s)
  File "", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
[932/51478] ACTION //third_party/blink/renderer/bindings:generate_bindings_all(//build/toolchain/win:win_clang_x86)
ninja: build stopped: subcommand failed

I have done some googling but I can’t find any solutions.
I’m using Visual Studio 19.

Read more here: Source link