vknabel / vscode-swift-development-environment

New home of Swift Development Environment for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment
Apache License 2.0
175 stars 14 forks source link

Error when Using sourcekite implement #60

Closed huangzhenwen closed 4 years ago

huangzhenwen commented 4 years ago

I got the error when i using sourcekite(default) way to implement SDE.

$ make install PREFIX=/usr/local
swift build -c release
Updating https://github.com/Carthage/Commandant.git
Updating https://github.com/mattgallagher/CwlPreconditionTesting.git
Updating https://github.com/mattgallagher/CwlCatchException.git
Updating https://github.com/jpsim/SourceKitten
Updating https://github.com/Quick/Nimble.git
Updating https://github.com/drmohundro/SWXMLHash.git
Updating https://github.com/Quick/Quick.git
Updating https://github.com/jpsim/Yams.git
error: terminated(1): git -C /Users/WWW/CodeCenter/Swift/sourcekite/.build/repositories/SourceKitten-064560d7 remote update -p output:
    Fetching origin
    fatal: unable to access 'https://github.com/jpsim/SourceKitten/': Failed to connect to github.com port 443: Operation timed out
    error: Could not fetch origin

make: *** [release] Error 1
vknabel commented 4 years ago

Hi @huangzhenwen, thanks for your feedback!

It seems like you lost the internet connection while SwiftPM was still fetching all dependencies.