roc: `roc dev` with hello world snippet from tutorial hangs indefinitely

Using nix shell github:roc-lang/roc on x86-64 linux

Using this code snippet from the tutorial:

app "hello"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.5.0/Cufzl36_SnJ4QbOoEmiJ5dIpUxBvdB3NEySvuH82Wio.tar.br" }
    imports [pf.Stdout]
    provides [main] to pf

main =
    Stdout.line "I'm a Roc application!"

When I do roc dev, it gets stuck at

Downloading https://github.com/roc-lang/basic-cli/releases/download/0.5.0/Cufzl36_SnJ4QbOoEmiJ5dIpUxBvdB3NEySvuH82Wio.tar.br
    into /home/james/.cache/roc/packages

I don’t think it’s just a slow internet connection, since I can download that file from my browser fairly quickly. Let me know any information I should provide to help debug.

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Reactions: 1
  • Comments: 18 (10 by maintainers)

Most upvoted comments

Hang on, nevermind, it seems to be working for me now with latest main. I probably should have recorded the exact commit I was having the problem on, but it would be the latest main as of when I submitted the issue. I won’t close for now since others seem to be experiencing this also.