vapor-community / sqlite-provider

SQLite3 provider for Vapor
MIT License
10 stars 8 forks source link

Fresh project install fail #11

Closed raulriera closed 7 years ago

raulriera commented 7 years ago

A fresh vapor new projectName will fail will the following Package.swift content

import PackageDescription

let package = Package(
    name: "projectName",
    dependencies: [
        .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 1, minor: 3),
        .Package(url: "https://github.com/vapor/sqlite-provider", majorVersion: 1, minor: 1)
    ],
    exclude: [
        "Config",
        "Database",
        "Localization",
        "Public",
        "Resources",
        "Tests",
    ]
)
Fetching Dependencies [Failed]
Check your dependencies' Package.swift files to see where the conflict is.
Error: warning: refname '1.0.1' is ambiguous.
warning: refname '1.0.1' is ambiguous.
warning: refname '1.0.2' is ambiguous.
warning: refname '1.0.2' is ambiguous.
warning: refname '1.0.0' is ambiguous.
warning: refname '1.0.0' is ambiguous.
swift-package: error: The dependency graph could not be satisfied. The package (https://github.com/vapor/fluent.git) with version tag in range (1.0.0..<1.0.9223372036854775807) is not found. Found tags ([1.2.0])

Am I missing something? :/

raulriera commented 7 years ago

vapor clean does the trick.