Comments (5)
Apparently I was using Vapor 2 and this is for Vapor 3. I fixed that and now I'm good.
from fluent-postgres-driver.
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.
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.
Can you share your entire Package.swift
and whether you're trying to use Vapor 2 or Vapor 3?
from fluent-postgres-driver.
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)
- An `id` of `null` throws violates not-null constraint. HOT 1
- Accept URL string in configuration HOT 3
- Saving optional enum (nil) triggers: [ WARNING ] bind $3 type (UNKNOWN 0) does not match expected parameter type (TEXT) HOT 5
- 2.0.0 GM
- Type date but expression is of type text (transformAssignedExpr) HOT 5
- Migrations are now creating int8 fields as char in the DB and then the value gets messed up when querying HOT 1
- Aggregate SUM function fails HOT 1
- Sort by multiple field keys fail
- Postgres error thrown when using advised UUID ID field HOT 1
- [Feature request] Support JSONB column type for nested arrays / PostgreSQL
- simpleQuery flattens columns names to lower case HOT 1
- [Documentation] - We need thorough documentation on README or Wiki HOT 3
- Missing '#include <stdlib.h>'; 'abort' must be declared before it is used HOT 3
- debug logging no longer shows the RAW SQL HOT 4
- let user specify Postgres schema in the connection parameters. HOT 2
- Enum Migration: Adding multiple new cases to an already existing enum does only add the last case HOT 5
- No DEFERRABLE Constraint option
- DatabaseConfigurationFactory build error in 2.7.0 HOT 4
- Select SQL query for the fluent-postgres-driver with bindings
- PSQLError: Opening new connection for pool failed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-postgres-driver.