smucclaw / complaw

Main repository for the Research Programme in Computational Law

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README Tutorial issue: stack build error

RyanFleck opened this issue · comments

Using Debian 9 within Windows Subsystem for Linux, attempting to follow the commands in the README instructions results in the following error. Is there an easy & obvious fix for this? Seems like one of the repository dependencies is inaccessible.

It's possible that this is a network/depencency/operating system issue within my local environment.

stack build
Downloading lts-15.12 build plan ...RedownloadFailed Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/fpco/lts-haskell/master//lts-15.12.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = Just (-3425)
  requestVersion       = HTTP/1.1
}
 "/home/rflec028/.stack/build-plan/lts-15.12.yaml" (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Connection","keep-alive"),("Content-Length","14"),("Content-Security-Policy","default-src 'none'; style-src 'unsafe-inline'; sandbox"),("Strict-Transport-Security","max-age=31536000"),("X-Content-Type-Options","nosniff"),("X-Frame-Options","deny"),("X-XSS-Protection","1; mode=block"),("Content-Type","text/plain; charset=utf-8"),("Via","1.1 varnish (Varnish/6.0)"),("X-GitHub-Request-Id","FAE2:2BF7:1831F:1BFF6:5ED7DDF1"),("Accept-Ranges","bytes"),("Date","Wed, 03 Jun 2020 17:29:22 GMT"),("Via","1.1 varnish"),("X-Served-By","cache-yyz4540-YYZ"),("X-Cache","MISS, MISS"),("X-Cache-Hits","0, 0"),("X-Timer","S1591205362.001724,VS0,VE95"),("Vary","Authorization,Accept-Encoding"),("Access-Control-Allow-Origin","*"),("X-Fastly-Request-ID","9f1b340ab4b9272a012521168fb1a9f1d60454bc"),("Expires","Wed, 03 Jun 2020 17:34:22 GMT"),("Source-Age","0")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose})

ah, stack upgrade fixes this.