react-fullstack-graphql icon indicating copy to clipboard operation
react-fullstack-graphql copied to clipboard

Unknown argument: boilerplate

Open jonathanMor opened this issue 6 years ago • 17 comments

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

Getting this error:

Unknown argument: boilerplate

any idea how to solve that?

jonathanMor avatar Feb 05 '19 16:02 jonathanMor

I have the same problem :(

hankolsen avatar Feb 08 '19 18:02 hankolsen

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

hankolsen avatar Feb 08 '19 18:02 hankolsen

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

eaco-andrew avatar Feb 09 '19 11:02 eaco-andrew

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

hankolsen avatar Feb 09 '19 12:02 hankolsen

https://github.com/graphql-cli/graphql-cli/pull/384

hankolsen avatar Feb 09 '19 12:02 hankolsen

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

erikAlon avatar Mar 13 '19 22:03 erikAlon

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

kiano0sh avatar Mar 20 '19 14:03 kiano0sh

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

hyochan avatar Apr 16 '19 08:04 hyochan

Is there a way to get this fixed ?

thidasapankaja avatar Jun 03 '19 18:06 thidasapankaja

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

This one worked for me

sonugk avatar Jul 24 '19 17:07 sonugk

the react-fullstack-advanced isn't available though

rolandpeelen avatar Jul 28 '19 20:07 rolandpeelen

Did you guys manage to find a solution?

Timonzimm avatar Aug 13 '19 20:08 Timonzimm

the react-fullstack-advanced isn't available though

https://github.com/graphql-boilerplates/react-fullstack-graphql/issues/550#issuecomment-461904886

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

sonugk avatar Aug 14 '19 04:08 sonugk

Did you guys manage to find a solution? https://github.com/graphql-boilerplates/react-fullstack-graphql/issues/550#issuecomment-461904886

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

sonugk avatar Aug 14 '19 04:08 sonugk

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

Timonzimm avatar Aug 14 '19 13:08 Timonzimm

i opened a PR to remove this flag from the documentation https://github.com/graphql-boilerplates/react-fullstack-graphql/pull/686

pvijeh avatar Jan 03 '20 19:01 pvijeh

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.

chris-hailstorm avatar Feb 24 '20 19:02 chris-hailstorm