build failed with error unexpected end of JSON input #2398
Replies: 1 comment
-
Hi @ttys000 I've been having the same issue as you, but I managed to fix it! TL;DR the issue was completely unrelated to Debugging the issueSimilar to you, I was also seeing this: 2024/06/01 01:16:10 unmarshal message: unexpected end of JSON input
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
external command failed with status 2 The thing that was really suspicious to me was:
which is an error message that you see when parsing JSON using Golang's However,
which is really weird! Not the I then ran:
Which fixed the issue! It might be that you have the exact same issue (ie. a bad |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
I want to install ruby on my Mac via a version manager like rbenv or asdf, but it's all failed, they both use ruby-build under the hood.
Check the build log I found the following error message:
Does anyone know about this error? Or how can I get more detailed information to fix it.
Environment
Terminal Output
Build Log
Beta Was this translation helpful? Give feedback.
All reactions