Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

stagehand on windows: add information about git command dependency (CreateProcessW failed 2) #601

Open
oonid opened this issue Apr 7, 2019 · 3 comments

Comments

@oonid
Copy link

oonid commented Apr 7, 2019

hello,
I just used stagehand on fresh install windows, and got an error CreateProcessW failed 2 after the command gave output creating web-simple application.

I'm not sure how to debug it, but many sources informed about PATH, even at that moment I still not sure about what application being failed executed. (I used username without space, I reinstall the SDK to a path without space)

Just lucky guess, I install git for windows and add it to the path, then the error disappeared.

So, how to make the stagehand command getting better with additional information that it depends on git application?

thank you.

@kwalrath
Copy link
Contributor

kwalrath commented Apr 9, 2019

Thanks for the report, @oonid. Besides documenting that stagehand depends on git being in your path, we should give a good error message when git isn't there.

/cc @devoncarew @kevmoo

@devoncarew
Copy link
Contributor

I think we should make the git dep optional - if we can't find it, or the execution fails, we should just gracefully degrade.

If I remember correctly, git is used to populate the username in the generated project?

@kevmoo
Copy link
Contributor

kevmoo commented Apr 9, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants