You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 22, 2021. It is now read-only.
I get the following error when I run "swift build".
/rainbow/Server/.build/checkouts/Kitura-Credentials.git-1137106172743287290/Sources/Credentials/TypeSafeCredentials.swift:48:38: error: use of undeclared type 'TypeSafeMiddleware'
public protocol TypeSafeCredentials: TypeSafeMiddleware, Codable {
^~~~~~~~~~~~~~~~~~
/rainbow/Server/.build/checkouts/Kitura-Credentials.git-1137106172743287290/Sources/Credentials/TypeSafeCredentials.swift:85:111: error: use of undeclared type 'RequestError'
public static func handle(request: RouterRequest, response: RouterResponse, completion: @escaping (Self?, RequestError?) -> Void) {
^~~~~~~~~~~~
error: terminated(1): /usr/local/Cellar/swift/4.1/Swift-4.1.xctoolchain/usr/bin/swift-build-tool -f /Users/upkar/Documents/code-upkar/rainbow/Server/.build/debug.yaml main output:
Swift version
$ swift --version
Swift version 4.1 (swift-4.1-RELEASE)
Target: x86_64-apple-darwin17.4.0
I am new to swift to fix the code quickly. Thank you for your help !