haskell/haskell-ide-engine

Downloading nightly build plan fails

dopatraman opened this issue · 1 comments

When I run stack install in the root directory, I see this error:

Downloading nightly-2020-04-09 build plan ...
RedownloadFailed Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/fpco/stackage-nightly/master//nightly-2020-04-09.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 "/Users/me/.stack/build-plan/nightly-2020-04-09.yaml" (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, ...

I'm running Mac Mojave 10.14.4, and this is the output of stack --version:

Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2

Can I skip this download and use previous version? It seems this build does not exist.

Upgrade your stack version via stack upgrade. Old Stack doesnt understand its build-plan anymore.
BTW, I would expect any other stack project that uses a recent LTS to break.