Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build HelloExpress example failed because of git clone a package called Result #27

Closed
learningpro opened this issue Apr 16, 2016 · 2 comments

Comments

@learningpro
Copy link

I do just as the document said, write a Package.swift
import PackageDescription

let package = Package(
name: "HelloExpress",
dependencies: [
.Package(url: "https://github.com/crossroadlabs/Express.git", majorVersion: 0, minor: 3),
]
)

but when I run ./build , it clones many repo and finally failed with a message called

error: Failed to clone https://github.com/antitypical/Result.git
Packages/Result' already exists and is not an empty directory.

I want to know why there are so many packages even the Package.swift uses only one, and why the Reault package comes into failure.

@dileping
Copy link
Member

@learningpro Thanks a lot for reporting the issue. Most probably it's just some kind of dependency hell caused by recent release of Result 2.0.

Anyways we are preparing a release of version 0.4, which is fully compatible with Swift 3.0 and 2.2 simultaneously and uses brand new asynchronous model, including own new Futures library.

Consider, please, playing with Package.swift included in Express. If you succeed I will be happy to create a new intermediate release of 0.3.x.

@dileping
Copy link
Member

Resolved in new minor release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants