-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack setup and build failed. #20
Comments
Hello, first of all my apologies for a late response! At the moment there is a problem with clashing dependencies of
|
Alright, I was mistaken, the packages are ok. The problem was in incompatible default values of stack's resolver and To use newer version of servant you have to turn on
(There is no |
One more update: I reverted default value of the flag as it caused conflicts in the nightly stack. So to use package with default resolver you should turn off the flag:
Or to use package with nighly resolver:
|
Hi I am trying out the code and I ran into a problem installing and setting up: The errors are as follow:
servant-auth-cookie git:(master) stack setup
stack will use a sandboxed GHC it installed
For more information on paths, see 'stack path' and 'stack exec env'
To use this GHC and packages outside of a project, consider using:
stack ghc, stack ghci, stack runghc, or stack exec
➜ servant-auth-cookie git:(master) stack runghc
^C
➜ servant-auth-cookie git:(master) stack build
While constructing the build plan, the following exceptions were encountered:
In the dependencies for servant-auth-cookie-0.4:
http-api-data-0.2.3 must match ==0.3.* (latest applicable is 0.3.1)
servant-0.7.1 must match ==0.9.* (latest applicable is 0.9.0.1)
Plan construction failed.
servant-auth-cookie git:(master) cabal run example
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: servant-auth-cookie-0.4 (user goal)
next goal: wai (dependency of servant-auth-cookie-0.4)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring servant-auth-cookie-0.4...
cabal: Encountered missing dependencies:
cereal ==0.5.,
cookie >=0.4.1 && <0.5,
cryptonite >=0.14 && <=0.20,
data-default -any,
exceptions ==0.8.,
http-types ==0.9.,
memory >=0.11 && <0.14,
servant >=0.5 && <0.10,
servant-server >=0.5 && <0.10,
tagged ==0.8.,
wai >=3.0 && <3.3
➜ servant-auth-cookie git:(master) stack setup
stack will use a sandboxed GHC it installed
For more information on paths, see 'stack path' and 'stack exec env'
To use this GHC and packages outside of a project, consider using:
stack ghc, stack ghci, stack runghc, or stack exec
➜ servant-auth-cookie git:(master)
Is there any other setup needed to have the code running? Thanks for your help.
The text was updated successfully, but these errors were encountered: