Git Product home page Git Product logo

Comments (5)

ptcuops avatar ptcuops commented on July 29, 2024

Same issue here. The artifact in question, org.webjars.npm:fbjs-css-vars:jar, does not appear to be available from the main maven repository.

from graphql-spring-boot.

ptcuops avatar ptcuops commented on July 29, 2024

This appears to be a problem upstream with org.webjars.npm:fbjs.

from graphql-spring-boot.

dimazelinskyi avatar dimazelinskyi commented on July 29, 2024

The same for me.

from graphql-spring-boot.

oliemansm avatar oliemansm commented on July 29, 2024

Same for me. Got it working for now by using the following maven config.

    <dependency>
      <groupId>com.graphql-java</groupId>
      <artifactId>graphiql-spring-boot-starter</artifactId>
      <version>${graphql.version}</version>
      <exclusions>
        <exclusion>
          <groupId>com.graphql-java</groupId>
          <artifactId>graphiql-spring-boot-autoconfigure</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.graphql-java</groupId>
      <artifactId>graphiql-spring-boot-autoconfigure</artifactId>
      <version>${graphql.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.webjars.npm</groupId>
          <artifactId>react</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.webjars.npm</groupId>
          <artifactId>react-dom</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.webjars.npm</groupId>
      <artifactId>react</artifactId>
      <version>15.5.4</version>
      <exclusions>
        <exclusion>
          <groupId>org.webjars.npm</groupId>
          <artifactId>fbjs</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.webjars.npm</groupId>
      <artifactId>react-dom</artifactId>
      <version>15.5.4</version>
      <exclusions>
        <exclusion>
          <groupId>org.webjars.npm</groupId>
          <artifactId>fbjs</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.webjars.npm</groupId>
      <artifactId>fbjs</artifactId>
      <version>0.8.12</version>
    </dependency>

from graphql-spring-boot.

oliemansm avatar oliemansm commented on July 29, 2024

Now another dependency is broken. Caused by the codemirror package depending on two org.webjars.npm packages. Because of the instability of those webjar packages I'm not using this graphiql starter anymore, but simply included my own graphiql html page as resource, which retrieves its dependencies from a cdn for now. Would advise the same approach for this starter, or include the dependencies directly as static resources (there aren't that many anyway). If I find some time, I'll create a PR to address this.

from graphql-spring-boot.

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.