ncrmro
04/27/2018, 11:23 PMAllu Manikyam
04/28/2018, 4:13 AMAllu Manikyam
04/28/2018, 4:13 AMAllu Manikyam
04/28/2018, 4:14 AMameistad
04/28/2018, 8:21 AMWhoops. Looks like an internal server error. Search your cluster logs for request ID:
I can't find any documentation on how to search the logs, anyone know?twelvearrays
04/28/2018, 3:49 PMSim
04/28/2018, 4:25 PMuser
04/28/2018, 4:35 PMSim
04/28/2018, 4:41 PMFi1osof
04/28/2018, 6:02 PMFi1osof
04/28/2018, 6:03 PMpicosam
04/28/2018, 6:26 PMError: Cannot find module 'graphql-yoga'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/Users/Sammy/Projects/ivnt-gql/src/index.ts:1:1)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Module.m._compile (/Users/Sammy/Projects/ivnt-gql/node_modules/ts-node/src/index.ts:402:23)
at Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Object.require.extensions.(anonymous function) [as .ts] (/Users/Sammy/Projects/ivnt-gql/node_modules/ts-node/src/index.ts:405:12)
at Module.load (internal/modules/cjs/loader.js:589:32)
[nodemon] app crashed - waiting for file changes before starting...
P.S. Actually even after downgrading Iām now constantly getting this message š
This resolved it for now: import { GraphQLServer } from 'graphql-yoga/dist';
Fi1osof
04/28/2018, 6:27 PMFi1osof
04/28/2018, 6:28 PMnotrab
04/28/2018, 6:43 PMnotrab
04/28/2018, 6:43 PMnotrab
04/28/2018, 6:44 PMtsconfig.json
rootDir
to be .
instead of src
. Out right now so I can't submit PR and check this doesn't break anything else that came with ava
.Fi1osof
04/28/2018, 6:55 PMFi1osof
04/28/2018, 6:55 PMnotrab
04/28/2018, 6:55 PMgraphql-yoga
was 1.9.0
afaik.Fi1osof
04/28/2018, 6:58 PMFi1osof
04/28/2018, 6:58 PM(node:26108) UnhandledPromiseRejectionWarning: GraphQLError: Syntax Error GraphQL request (82:1) Unexpected String
81:
82: """
^
83: An object with an ID
šDaniel K.
04/28/2018, 7:03 PMAuthentication token is invalid: Token can't be decoded: Expected token [null] to be composed of 2 or 3 parts separated by dots.
I am unsure where would I put that token, there is no mention of that anywhere špasa
04/28/2018, 7:36 PMFi1osof
04/28/2018, 7:39 PMFi1osof
04/28/2018, 7:40 PMDaniel K.
04/28/2018, 7:48 PMSim
04/28/2018, 7:55 PMFi1osof
04/28/2018, 8:15 PMconst user = await ctx.db.query.user({ where: {
username,
} })
Error: Field "user" of type "User" must have a selection of subfields. Did you mean "user { ... }"?
Fi1osof
04/28/2018, 8:15 PM