Book server is not running.
Here is how you reciprocate this error:
swift run
inside 00-book-server folder.
Book server is not running.
Here is how you reciprocate this error:
swift run
inside 00-book-server folder.
What’s the output of swift --version
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Target: arm64-apple-macosx12.0
Very strange, the only thing that comes to mind to try is delete the build cache first rm -Rf .build
and then try to run again. It has happened to me in the past that something’s wrong in the cache and cleaning it resolves build issues
That’s not an undefined error — the message is that it cannot find github.com
Ah yeah! missed it in writing it out here.
How can I resolve this?
Sorry, I don’t know — maybe it’s an issue with the internet connection.
I checked the internet connection and re-login in my GitHub account.
Somehow I am back to this error only.
Update vapor in Package.swift to a more recent version like 4.68.0.