vapor / fluent-mongo-driver

MongoDB support for Fluent built on MongoKittten.
MIT License
25 stars 11 forks source link

Cannot build or test #2

Closed StefanoDeVuono closed 4 years ago

StefanoDeVuono commented 4 years ago

edit: It looks like the tn-field-key branch on fluent-kit was merged into tn-beta-5. I can make a PR to update to that.

edit again: PR is up

I'm new to vapor and eager to help out. I just saw this get repo today and thought I'd dl it and poke around. So far, running Catalina, when I run vapor build or vapor test, I get:

~/D/fluent-mongo-driver (master|✔) $ vapor test
Testing [Failed]

Log:
https://github.com/vapor/fluent-kit.git @ tn-field-key: error: terminated(128): git -C /Users/stefanodevuono/Documents/fluent-mongo-driver/.build/repositories/fluent-kit-44c6ebdc rev-parse --verify 'tn-field-key^{commit}' output:
    fatal: Needed a single revision

Output:
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/OpenKitten/MongoKitten.git

Help:
Join our Slack where hundreds of contributors
are waiting to help: http://vapor.team

Error: Tests failed.
~/D/fluent-mongo-driver (master|✔) $ vapor build
Building Project [Failed]

Command:
build

Error (1):
https://github.com/vapor/fluent-kit.git @ tn-field-key: error: terminated(128): git -C /Users/stefanodevuono/Documents/fluent-mongo-driver/.build/repositories/fluent-kit-44c6ebdc rev-parse --verify 'tn-field-key^{commit}' output:
    fatal: Needed a single revision

Output:
Updating https://github.com/OpenKitten/MongoKitten.git
Updating https://github.com/vapor/fluent-kit.git

Toolchain:
/usr/bin/swift

Help:
Join our Slack where hundreds of contributors
are waiting to help: http://vapor.team

Error: Build failed.

When I open the project in Xcode, I see the following error:

The repository could not be found. Make sure a valid repository exists at the specified location and try again.

I'm happy to write some documentation and submit a PR for that if anyone can help point me in the right direction. And also happy to contribute to building out some more functionality.