-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
quick start flags must be preceded by -- #37019
Comments
Hi @SheetJSDev, thanks! You are correct, this seems to have changed in later npm versions. If you or anyone else would like to pick this up the docs update would be for this page/section -> https://github.com/gatsbyjs/gatsby/blob/master/docs/docs/quick-start.md#use-flags |
Hi @tyhopp, can I take this issue? |
Absolutely! We have a docs contribution guide with some info you might find helpful if this is your first contribution to Gatsby |
Thank you @shogohida! |
Preliminary Checks
Summary
Current docs:
"""
Flags are not positional, so these commands are equivalent:
npm init gatsby -y -ts my-site-name
npm init gatsby my-site-name -y -ts
"""
Running against Node 18.12.1 + npm 8.19.2 on macOS, the questionnaire shows up even with the
-y
flag.To force the
-y
to be passed along,--
is needed. For example:Steps to Resolve this Issue
Run the example commands, observe they do not appear to skip the questionnaire, and include examples that do behave as expected.
The text was updated successfully, but these errors were encountered: