<#17778 IncompleteJSONError when running any pants...
# github-notifications
q
#17778 IncompleteJSONError when running any pants commands Issue created by jcrumb-u21 Describe the bug I'm adding pants to an existing repo with go code. My initial
pants tailor ::
worked and generated BUILD files, but now running any commands including
pants check ::
will generate the following error:
Copy code
IncompleteJSONError: parse error: trailing garbage
          mod", 	"GoVersion": "1.19" } { 	"Path": "<http://cloud.google.com/go|cloud.google.com/go>
                     (right here) ------^
Pants version 2.14.0 OS MacOS (Ventura) Additional info My local python version used by pants is
3.9.13
and I'm building my project on Go
1.19
. Here's a gist which contains the full output from running with
ldebug
and `print-stacktrace`: https://gist.github.com/jcrumb-u21/d3b575ae2b7a8ac2060c2409a0b73171 Here's a gist containing my project's `go.mod`: https://gist.github.com/jcrumb-u21/8ef02939c226bd9eca27314ecf16f99f And finally, here's a gist of the JSON output that
go list
is generating, pulled from `pants.backend.go.util_rules.third_party_pkg.analyze_module_dependencies`: https://gist.github.com/jcrumb-u21/9c4f36108689722921dfd179e2013bd8 pantsbuild/pants