Giter VIP home page Giter VIP logo

Comments (6)

thom801 avatar thom801 commented on May 25, 2024 3

I'm experiencing this issue as well. When I run graphql create my-app --boilerplate react-fullstack-basic the command doesn't seem to do anything. From looking at the cli docs, graphql init is the correct command, but I was unable to load the template from this repo using the github URL.

from react-fullstack-graphql.

haf avatar haf commented on May 25, 2024 1

Remove the --boilerplate and you can choose the template from this repo (it seems)

Then, if you pick advanced/fullstack/react/js you get this error when starting the client:

Failed to compile

./src/index.css (./node_modules/css-loader??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
BrowserslistError: Unknown browser kaios
    at Array.reduce (<anonymous>)
    at Array.some (<anonymous>)
    at Array.filter (<anonymous>)
    at new Promise (<anonymous>)

from react-fullstack-graphql.

haf avatar haf commented on May 25, 2024

Me too. Should this be a high prio to fix?

from react-fullstack-graphql.

TheOmran avatar TheOmran commented on May 25, 2024

#666 should take care of it.

from react-fullstack-graphql.

sespinosa avatar sespinosa commented on May 25, 2024

@haf I tried your solution but the generated project is not the one on this repo, doesn't have the "server" directory.

from react-fullstack-graphql.

Mohamad-Kamar avatar Mohamad-Kamar commented on May 25, 2024

The npm install command now downloads version 4 of the repo. Version 4 deprecates the create command in favor with the command init, and deprecates the rest of the flags ( such as --boilerplate).
Solution would either be to adapt to the new version, which is very different, or download a previous version of the package as follows:

npm install -g [email protected]

And to download the templates write

graphql create <your-app-name>

And select the template that you'd like to have.

from react-fullstack-graphql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.