haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 211 forks source link

Downloading nightly build plan fails #1754

Closed dopatraman closed 4 years ago

dopatraman commented 4 years ago

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.

fendor commented 4 years ago

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.