react-fullstack-graphql
react-fullstack-graphql copied to clipboard
Unknown argument: boilerplate
When running:
graphql create my-app --boilerplate react-fullstack-basic
Getting this error:
Unknown argument: boilerplate
any idea how to solve that?
I have the same problem :(
@jonathanMor Just run graphql create my-app, you will get a list of available boilerplates to choose from automatically :)
The list isn't showing react-fullstack-advanced as an option
@eaco-andrew, I noticed that too and there is another issue regarding that
https://github.com/graphql-cli/graphql-cli/pull/384
Same issue but running graphql create my-app offers the list of boilerplates, specifically react-fullstack-basic as of today.
I'm facing this problem too and also there's no react-fullstack-advanced option.
@erikAlon is right. There is no --boilerplate today. The doc should be updated.
Is there a way to get this fixed ?
@jonathanMor Just run
graphql create my-app, you will get a list of available boilerplates to choose from automatically :)
This one worked for me
the react-fullstack-advanced isn't available though
Did you guys manage to find a solution?
the
react-fullstack-advancedisn'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
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
As mentioned by @rolandpeelen, "the react-fullstack-advanced isn't available though".
i opened a PR to remove this flag from the documentation https://github.com/graphql-boilerplates/react-fullstack-graphql/pull/686
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.