Code Monkey home page Code Monkey logo

Comments (5)

grosch avatar grosch commented on May 10, 2024 1

Apparently I was using Vapor 2 and this is for Vapor 3. I fixed that and now I'm good.

from fluent-postgres-driver.

twof avatar twof commented on May 10, 2024

It's going to be either .upToNextMajor() or from: but not both. The one most people are using is

.package(url: "https://github.com/vapor/fluent-postgresql.git", from: "1.0.0-rc"))

SPM is pretty bad about give you the info you need to debug your package, so I'd suggest vapor xcode --verbose -y to get a little more info.

from fluent-postgres-driver.

grosch avatar grosch commented on May 10, 2024

I switched it to the line you showed and then ran with verbose. It ran through these in just a couple seconds, but then just stopped with no more output:

% vapor xcode --verbose -y
Generating Xcode Project ...
Updating https://github.com/vapor/fluent-postgresql.git
Updating https://github.com/vapor/vapor.git
Updating https://github.com/vapor/fluent-provider.git
Updating https://github.com/vapor/routing.git
Updating https://github.com/vapor/multipart.git
Updating https://github.com/vapor/node.git
Updating https://github.com/vapor/bcrypt.git
Updating https://github.com/vapor/core.git
Updating https://github.com/vapor/crypto.git
Updating https://github.com/vapor/engine.git
Updating https://github.com/vapor/console.git
Updating https://github.com/vapor/json.git
Updating https://github.com/vapor/random.git
Updating https://github.com/vapor/bits.git
Updating https://github.com/vapor/debugging.git
Updating https://github.com/vapor/ctls.git
Updating https://github.com/vapor/sockets.git
Updating https://github.com/vapor/tls.git
Updating https://github.com/vapor/fluent.git
Updating https://github.com/vapor/sqlite.git
Updating https://github.com/vapor/postgresql.git
Updating https://github.com/vapor/async.git

from fluent-postgres-driver.

twof avatar twof commented on May 10, 2024

Can you share your entire Package.swift and whether you're trying to use Vapor 2 or Vapor 3?

from fluent-postgres-driver.

MrMage avatar MrMage commented on May 10, 2024

I've had the same experience when my Package.swift specified different branches/versions for transitive dependencies than what was specified by other dependencies. Make sure that all your dependencies and your Package.swift specify the same version/branch for all packages, and if that doesn't help, please post your Package.swift as mentioned by @twof.

from fluent-postgres-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.