Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

error: unsatisfiable #12

Closed
ksmandersen opened this issue Jul 7, 2017 · 1 comment
Closed

error: unsatisfiable #12

ksmandersen opened this issue Jul 7, 2017 · 1 comment

Comments

@ksmandersen
Copy link

When running flock --build i get the following error:

error: unsatisfiable
An error occurred: The operation couldn’t be completed. (FlockCLI.SPM.Error error 0.)

Flockfile:

import Flock

Flock.configure(base: Base(), environments: [Production(), Staging()])

Flock.use(.deploy)
Flock.use(.swiftenv)
Flock.use(.server)

Flock.run()

Config/deploy/Base.swift:

import Flock
import SSH

class Base: Environment {
	func configure() {
		Config.projectName = "Speakerdex"
		Config.executableName = "Run"
		Config.repoURL = "https://github.com/northplay/api.speakerdex.co.git"
		
		Config.serverFramework = VaporFramework()
		Config.processController = Nohup()
		
        Config.deployDirectory = "/var/www/api.speakerdex.co"
	}
}

FlockPackage.swift

let dependencies: [Package.Dependency] = [
    .Package(url: "https://github.com/jakeheis/Flock", majorVersion: 0),
    .Package(url: "https://github.com/jakeheis/VaporFlock", majorVersion: 0)
]
@jakeheis
Copy link
Owner

VaporFlock functionality is now built into Flock, and thus shouldn't be included as a separate dependency. Try removing that line from FlockPackage.swift and it should then work

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

No branches or pull requests

2 participants