intellij-haskforce
intellij-haskforce copied to clipboard
New project does not generate stack.yaml when offline
We delegate to the stack tool to generate a stack.yaml
file; however, we could instead fall back to a default file with some default LTS version, possibly the system's. For instance, the default global project config can be found on UNIX systems at $HOME/.stack/global-project/stack.yaml
i don't understand the connection between the title and the comment ;) Shouldn't it just call stack new <project name>
?
Disconnect your internet connection and try to do stack new
😄
% stack new no-internet
Downloading template "new-template" to create project "no-internet" in no-internet/ ...
FailedConnectionException2 "raw.githubusercontent.com" 443 True getAddrInfo: does not exist (nodename nor servname provided, or not known)