Closed geekgao closed 4 years ago
Wait a minute, I remember having had the same problem for a whole day and did not understand why. Since all tests were passing on Travis, I guessed that the problem had to be on my computer. I remember that I cleaned the Xcode cache ⌥⇧⌘K
and even restarted my laptop. Then it worked again.
Let's check the obvious first:
sudo
✅The reason why I was so confused when this happened to me is because this line is where it crashes:
As you can see there is nothing special about that line. It's a normal system command and there are no arguments passed in, only system constants. There is no reason why this command should fail. That led me to the conclusion that I must restart my computer because my operating system must be confused about the network preferences state.
If I come up with anything else, I'll let you know. The good news is that I had the same problem and it was only temporary.
I'll close this for now. Feel free to re-open this issue if you feel this is a persisting problem.
Thanks for reporting it!
Self compile and execute has error:
But the version from brew that's ok.