howtographql / graphql-js

https://www.howtographql.com/graphql-js/1-getting-started/
363 stars 124 forks source link

Tutorial 6-authentication - singup:null, no error #62

Open jeanatcismet opened 5 years ago

jeanatcismet commented 5 years ago

I am following the tutorial and i just encountered a problem on the signup step:

Auswahl_003

There is no error (neither in the server console, nor in the API response). I don't know where the problem is.

The signup resolver is not beeing invoked (i have added a console.log('Test') on the top of the function to check this).

My package.json:

{
  "name": "hackernews-node",
  "version": "1.0.0",
  "main": "src/index.js",
  "license": "MIT",
  "dependencies": {
    "bcryptjs": "^2.4.3",
    "graphql-yoga": "^1.17.4",
    "jsonwebtoken": "^8.5.1",
    "prisma-client-lib": "^1.33.0"
  }
}