Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Installing graphql api extension illuminate/auth version error

    Installing Bagisto
    2
    4
    254
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ani last edited by

      hey,
      I having issues when installing the graph-ql Api extension it gives me illumiate/auth error
      this is the error
      ❌
      PS C:\Users\aniru\Desktop\fonelaneFolder\Fonelane\bagisto> composer require bagisto/graphql-api dev-main
      ./composer.json has been updated
      Running composer update bagisto/graphql-api
      Loading composer repositories with package information
      Updating dependencies
      Your requirements could not be resolved to an installable set of packages.

      Problem 1
      - php-open-source-saver/jwt-auth 1.4.0 requires illuminate/auth ^6|^7|^8 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
      - php-open-source-saver/jwt-auth 1.4.1 requires illuminate/auth ^6|^7|^8|^9 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
      - php-open-source-saver/jwt-auth 1.4.2 requires illuminate/auth ^6|^7|^8.67|^9 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.67.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
      - bagisto/graphql-api dev-main requires php-open-source-saver/jwt-auth ^1.4 -> satisfiable by php-open-source-saver/jwt-auth[1.4.0, 1.4.1, 1.4.2].
      - Root composer.json requires bagisto/graphql-api dev-main -> satisfiable by bagisto/graphql-api[dev-main].

      Installation failed, reverting ./composer.json and ./composer.lock to their original content.
      ❌
      this is the error i got from terminal after running the appropriate command from the docs and then i migrate to lower version bagisto:1.4.5. it gives me graph-ql version not supported error what do i do can please someone tell me what's happing

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @ani last edited by

        @ani
        Hello there for which version you are using GraphQL api. This will help us to understand your query.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • A
          ani last edited by

          i'm using the latest version of bagisto which is v2.0 and i got this error whatever i do to resolve the issue i used all versions above 1.4.5 but it didn't work with anyone.
          Would you please tell me how to install and use in my local machine as i'm suffering from a tight deadline and i stuck in this error.
          please help me with as soon as you see this.
          thank you for your valuable time.

          ashish2409 1 Reply Last reply Reply Quote 0
          • ashish2409
            ashish2409 @ani last edited by

            @ani
            Hello there,

            We are updating the Headless API for Bagisto 2.0.0.
            You can check the PR for the same with the below link.

            Link - https://github.com/bagisto/headless-ecommerce/pull/95

            1 Reply Last reply Reply Quote 0
            • First post
              Last post