Skip to content
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

not able to build application #1

Closed
ephimee opened this issue Sep 24, 2020 · 1 comment
Closed

not able to build application #1

ephimee opened this issue Sep 24, 2020 · 1 comment

Comments

@ephimee
Copy link

ephimee commented Sep 24, 2020

I just downloaded the source code, but the command stack doesn't exist on Ubuntu.
So I installed it with:
sudo apt-get install haskell-stack
Then I ran the command:
stack build
But then I get:

Downloading lts-16.13 build plan ...RedownloadFailed Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/fpco/lts-haskell/master//lts-16.13.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 "/home/ephimee/.stack/build-plan/lts-16.13.yaml" (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Connection","keep-alive"),("Content-Length","14"),("Content-Type","text/plain; charset=utf-8"),("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"),("Via","1.1 varnish (Varnish/6.0)"),("X-GitHub-Request-Id","2F32:D9A2:1FA8CB8:21D391F:5F6C544C"),("Accept-Ranges","bytes"),("Date","Thu, 24 Sep 2020 08:09:49 GMT"),("Via","1.1 varnish"),("X-Served-By","cache-ams21030-AMS"),("X-Cache","MISS, MISS"),("X-Cache-Hits","0, 0"),("X-Timer","S1600934989.270212,VS0,VE153"),("Vary","Authorization,Accept-Encoding"),("Access-Control-Allow-Origin","*"),("X-Fastly-Request-ID","27612b1030939b641a3cc81d368418478b688ab0"),("Expires","Thu, 24 Sep 2020 08:14:49 GMT"),("Source-Age","0")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose})

@prikhi
Copy link
Owner

prikhi commented Feb 13, 2021

Most likely, your ubuntu has an old version of stack:

https://docs.haskellstack.org/en/stable/README/#how-to-install

I just bumped the LTS to 17.2 & confirmed that pulling the LTS's yaml file works fine w/ an up-to-date stack.

@prikhi prikhi closed this as completed Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants