moocfi / haskell-mooc

Haskell MOOC University of Helsinki
Other
313 stars 446 forks source link

stack build failed #56

Closed Peco602 closed 2 years ago

Peco602 commented 2 years ago

When I launch stack build on Ubuntu 20.04 LTS I get the following error:

Downloading lts-18.18 build plan ...
RedownloadInvalidResponse Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/fpco/lts-haskell/master//lts-18.18.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
Peco602 commented 2 years ago

I solved it by first upgrading stack via:

stack upgrade

and then relaunching:

stack build

Would you consider to update the README to cover this possible case?

opqdonut commented 2 years ago

thanks, I added troubleshooting steps to the material & the readme