react-apollo icon indicating copy to clipboard operation
react-apollo copied to clipboard

`signup` mutation fails with `Assertion 'args[3]->IsInt32()' failed`

Open andyw8 opened this issue 3 years ago • 1 comments

I'm able to start the Playground app but when I execute the signup mutation it shows:

{
  "error": "Failed to fetch. Please check your connection"
}

The console shows this failure:

yarn run v1.22.17
$ nodemon src/index.js
[nodemon] 2.0.6
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node src/index.js`
(node:91451) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Server is running on http://localhost:4000/
/Users/andyw8/.nvm/versions/node/v16.13.1/bin/node[91451]: ../src/node_http_parser.cc:567:static void node::(anonymous namespace)::Parser::Initialize(const FunctionCallbackInfo<v8::Value> &): Assertion `args[3]->IsInt32()' failed.`

I'm running Node v16.13.1. I've seen some posts elsewhere suggest this may solved by running an older version of Node, but as I'm on an ARM64 (Apple Silicon) machine, that may not be possible.

andyw8 avatar Jan 03 '22 22:01 andyw8

Same error running node 17.4 on WSL.

AdnanCodes avatar Jan 28 '22 14:01 AdnanCodes