-
Notifications
You must be signed in to change notification settings - Fork 35
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
hathora init
throws an error
#261
Comments
Reading through the other issues - probably best to fix this along with a CLI restructure referenced in #157 |
Ok my bad - I thought this generated a hathora project from scratch, but as I work through the uno tutorial, I see that the expected workflow is:
|
Probably a couple things that should be improved here:
|
What do you think about having Actually I haven't checked what the difference is between |
Right now, I like the idea of being able to create something from a template so you don't have to create your |
I didn't explain myself well - what I meant was that I think many package managers follow the Actually come to think of it Ok maybe there is no fixed convention - and it's the wild west. Something to think about for the CLI UX. |
To add onto this, I had to create |
Was about to try making a project from scratch, and discovered that
hathora init
fails with this error:Looks like the issue is that cli.ts (line 140) calls
getProjectRoot
at the top level of the file, but in theinit
scenariohathora.yml
doesn't exist yet - and so it throws.Additionally, running
hathora --help
throws the same error - which makes it hard to understand what is expected as a new user - since it's unclear what a 'hathora project' is yet.The text was updated successfully, but these errors were encountered: