-
Notifications
You must be signed in to change notification settings - Fork 841
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
Unable to get off ground #358
Comments
If you have an existing cabal file already for your project you can call stack init. You'll have to write one, because currently your project needs a cabal file in order to get started. |
To be clear, it is a design goal that stack will get you started in the
|
Note that, for now, you can have |
|
OK, this should be fixed with the newest stack on master. |
Thanks On Sun, Jun 21, 2015 at 2:03 AM, Michael Snoyman [email protected]
|
New install. Stack 0.0.3. Ubuntu 14.04. Created directory for project. Added nat.hs file to directory. Tried to get it to load (in several ways). I thought stack would download GHC, and I thought it would create an empty stack.yaml. Here's a session log. What am I missing? Thanks, and sorry for newbie questions.
cs1@cs1:~/CS1/nat$ stack ghci nat.hs
Using resolver: lts-2.14 from global config file: /home/cs1/.stack/global/stack.yaml
No GHC found, expected version 7.8.4 (x86_64) (based on resolver setting in /home/cs1/.stack/global/stack.yaml). Try running stack setup
cs1@cs1:~/CS1/nat$ stack setup
Unable to find a stack.yaml file in the current directory (/home/cs1/CS1/nat/) or its ancestors
Recommended action: stack new
cs1@cs1:~/CS1/nat$ stack new
new command not yet implemented, check out #137 for status and to get involved
The text was updated successfully, but these errors were encountered: