Skip to content
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

Unknown argument: boilerplate #550

Open
jonathanMor opened this issue Feb 5, 2019 · 17 comments
Open

Unknown argument: boilerplate #550

jonathanMor opened this issue Feb 5, 2019 · 17 comments

Comments

@jonathanMor
Copy link

When running:
graphql create my-app --boilerplate react-fullstack-basic

Getting this error:

Unknown argument: boilerplate

any idea how to solve that?

@hankolsen
Copy link

I have the same problem :(

@hankolsen
Copy link

@jonathanMor Just run graphql create my-app, you will get a list of available boilerplates to choose from automatically :)

@eaco-andrew
Copy link

The list isn't showing react-fullstack-advanced as an option

@hankolsen
Copy link

@eaco-andrew, I noticed that too and there is another issue regarding that

@hankolsen
Copy link

Urigo/graphql-cli#384

@erikAlon
Copy link

Same issue but running graphql create my-app offers the list of boilerplates, specifically react-fullstack-basic as of today.

@kiano0sh
Copy link

I'm facing this problem too and also there's no react-fullstack-advanced option.

@hyochan
Copy link

hyochan commented Apr 16, 2019

@erikAlon is right. There is no --boilerplate today. The doc should be updated.

@thidasapankaja
Copy link

Is there a way to get this fixed ?

@sonugk
Copy link

sonugk commented Jul 24, 2019

@jonathanMor Just run graphql create my-app, you will get a list of available boilerplates to choose from automatically :)

This one worked for me

@rolandpeelen
Copy link

the react-fullstack-advanced isn't available though

@Timonzimm
Copy link

Did you guys manage to find a solution?

@sonugk
Copy link

sonugk commented Aug 14, 2019

the react-fullstack-advanced isn't available though

#550 (comment)

As mentioned by @jonathanMor "Just run graphql create my-app"
Also upvote his comment so that everyone can see

@sonugk
Copy link

sonugk commented Aug 14, 2019

Did you guys manage to find a solution?
#550 (comment)

As mentioned by @jonathanMor "Just run graphql create my-app"
Also upvote his comment so that everyone can see

@Timonzimm
Copy link

As mentioned by @rolandpeelen, "the react-fullstack-advanced isn't available though".

@pvijeh
Copy link

pvijeh commented Jan 3, 2020

i opened a PR to remove this flag from the documentation
#686

@chris-hailstorm
Copy link

I can't vouch for the current state of the react-fullstack-advanced boilerplate, but it's easy enough to enable that variant for the CLI tool. After an npm install of graphql-cli, just edit the boilerplate list in node_modules/graphql-cli/dist/cmds/create/boilerplates.js and add an entry in the same form as the ones for /minimal and /basic, then run graphql create.

Maybe the exclusion of the react-fullstack-advanced boilerplate was intentional because the boilerplate itself isn't ready; I can't tell. But the names and URLs are all hardwired in that file.

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

No branches or pull requests