Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

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

    Solved ✖ fatal GraphQLError: Float cannot represent non numeric value: NaN

    Ackee
    4
    7
    1199
    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.
    • MooCloud_Matt
      MooCloud_Matt last edited by

      Hello,

      I got this strange issue with ackee, and I don't find any documentation on the previous issue both on the Cloudron forum and on ackee git.

      when you try to log in, there is this warning message:
      1af41ea6-b55d-4e6c-80ff-cbbfef1a210d-image.png

      whit no consol log, but container log show:

      Jun 29 23:49:30 [Ackee] › ✔ success Connected to mongodb://mongodb:27017/******
      Jun 29 23:49:30 [Ackee] › ▶ start Starting the server
      Jun 29 23:49:31 [Ackee] › … watching Listening on http://localhost:3000
      Jun 29 23:50:39 [Ackee] › ✖ fatal GraphQLError: Float cannot represent non numeric value: NaN
      Jun 29 23:50:39 at GraphQLScalarType.serializeFloat [as serialize] (/app/code/node_modules/graphql/type/scalars.js:106:11)
      Jun 29 23:50:39 at completeLeafValue (/app/code/node_modules/graphql/execution/execute.js:653:37)
      Jun 29 23:50:39 at completeValue (/app/code/node_modules/graphql/execution/execute.js:578:12)
      Jun 29 23:50:39 at /app/code/node_modules/graphql/execution/execute.js:469:16
      Jun 29 23:50:39 at processTicksAndRejections (internal/process/task_queues.js:93:5)
      Jun 29 23:50:39 at async Promise.all (index 1)
      Jun 29 23:50:39 at async Promise.all (index 2)
      Jun 29 23:50:39 at async Promise.all (index 0)
      Jun 29 23:50:39 [Ackee] › ✖ fatal GraphQLError: Float cannot represent non numeric value: NaN
      Jun 29 23:50:39 at GraphQLScalarType.serializeFloat [as serialize] (/app/code/node_modules/graphql/type/scalars.js:106:11)
      Jun 29 23:50:39 at completeLeafValue (/app/code/node_modules/graphql/execution/execute.js:653:37)
      Jun 29 23:50:39 at completeValue (/app/code/node_modules/graphql/execution/execute.js:578:12)
      Jun 29 23:50:39 at /app/code/node_modules/graphql/execution/execute.js:469:16
      Jun 29 23:50:39 at processTicksAndRejections (internal/process/task_queues.js:93:5)
      Jun 29 23:50:39 at async Promise.all (index 1)
      Jun 29 23:50:39 at async Promise.all (index 3)
      Jun 29 23:50:39 at async Promise.all (index 0)
      

      Matteo. R.
      Founder and Tech-Support Manager.
      MooCloud MSP
      Swiss Managed Service Provider

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        This very much looks like an app bug. Would be great if you could report this upstream at https://github.com/electerious/Ackee/issues especially since you got some callstack there.

        On a quick search I haven't seen this reported yet.

        MooCloud_Matt 1 Reply Last reply Reply Quote 1
        • MooCloud_Matt
          MooCloud_Matt @nebulon last edited by

          @nebulon
          yep, I will, it's more a pre-check here if somebody has found something.

          Matteo. R.
          Founder and Tech-Support Manager.
          MooCloud MSP
          Swiss Managed Service Provider

          ianhyzy girish 2 Replies Last reply Reply Quote 0
          • ianhyzy
            ianhyzy @MooCloud_Matt last edited by

            @moocloud_matt I'm getting the same thing on a new install

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @ianhyzy last edited by

              @ianhyzy @MooCloud_Matt This got fixed in https://github.com/electerious/Ackee/blob/9a6e51d337ab7c9affdc6752e1acbe9405d0f633/CHANGELOG.md#311---2021-06-27 . Update coming up.

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @MooCloud_Matt last edited by

                @ianhyzy @moocloud_matt Should be fixed now with the latest package.

                ianhyzy 1 Reply Last reply Reply Quote 2
                • ianhyzy
                  ianhyzy @girish last edited by

                  @girish awesome, it works now - thanks!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB