✖ fatal GraphQLError: Float cannot represent non numeric value: NaN
Solved
Ackee
-
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:
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)
-
@moocloud_matt I'm getting the same thing on a new install
-
@ianhyzy @MooCloud_Matt This got fixed in https://github.com/electerious/Ackee/blob/9a6e51d337ab7c9affdc6752e1acbe9405d0f633/CHANGELOG.md#311---2021-06-27 . Update coming up.
-
@ianhyzy @moocloud_matt Should be fixed now with the latest package.