develomark
07/25/2018, 9:55 AMJonathan Tushman
07/25/2018, 10:36 AMnoahdavis
07/25/2018, 11:36 AMnoahdavis
07/25/2018, 11:36 AMJonathan Tushman
07/25/2018, 2:52 PMJonathan Tushman
07/25/2018, 2:53 PMJonathan Tushman
07/25/2018, 2:54 PMcarstenbaumhoegger
07/25/2018, 3:13 PMgraphql-yoga
throws errors I cannot replicate at my local machine.
Maybe someone of you has an idea?
TSError: ⨯ Unable to compile TypeScript:
src/index.ts(10,34): error TS2345: Argument of type '{ typeDefs: string; resolvers: { Query: { me(parent: any, args: any, ctx: Context, info: any): Pr...' is not assignable to parameter of type 'Props<any, any, any>'.
Types of property 'middlewares' are incompatible.
Type 'import("/root/office-drinks/backend/node_modules/graphql-middleware/dist/types").IMiddleware<a...' is not assignable to type 'import("/root/office-drinks/backend/node_modules/graphql-yoga/node_modules/graphql-middleware/...'.
Type 'import("/root/office-drinks/backend/node_modules/graphql-middleware/dist/types").IMiddleware<a...' is not assignable to type 'import("/root/office-drinks/backend/node_modules/graphql-yoga/node_modules/graphql-middleware/...'.
Type 'IMiddlewareFunction<any, any, any>' is not assignable to type 'IMiddleware<any, any, any>'.
Type 'IMiddlewareFunction<any, any, any>' is not assignable to type 'IMiddlewareTypeMap<any, any, any>'.
Index signature is missing in type 'IMiddlewareFunction<any, any, any>'.
Thanks in advance!Jonathan Tushman
07/25/2018, 3:55 PMvar app = express();
app.use('/graphql', graphqlHTTP({
schema: schema,
rootValue: root,
graphiql: true,
}));
app.listen(4000);
console.log('Running a GraphQL API server at localhost:4000/graphql');
ericsonluciano
07/25/2018, 4:11 PMbrandon
07/25/2018, 4:42 PMkratam
07/25/2018, 6:25 PMunning graphql get-schema --project database ✔
{ FetchError: invalid json response body at <https://api.cloud.prisma.sh> reason: Unexpected token < in JSON at position 0
Is prisma cloud down?brandon
07/25/2018, 6:28 PMprisma reset
but am still having issues with it. when I do Prisma list
It doesn't show any deployed services. but when doing prisma info
it shows me my endpoint. Going to my endpoint, I also receive the message: Uncaught Error: {
"errors": [
{
"message": "Project not found: 'public-fancybelly-926@om-web-graphql'",
"code": 3016,
"requestId": "us1:api:cjk1gl6vslun90b02r9ltlfw6"
}
]
}
Mike
07/25/2018, 7:03 PMlawjolla
07/25/2018, 7:38 PMZach
07/25/2018, 7:48 PMw0wka91
07/26/2018, 3:42 AMlancej
07/26/2018, 8:51 AMGraphQLServerLambda
does not have middleware property? Makes reuse difficultIbesoft
07/26/2018, 12:26 PMJonathan Tushman
07/26/2018, 2:22 PMJonathan Tushman
07/26/2018, 2:25 PMmattferrin
07/26/2018, 4:23 PMhuv1k
07/26/2018, 7:11 PMtafelito
07/26/2018, 8:05 PMtafelito
07/26/2018, 8:06 PMbrandon
07/26/2018, 10:47 PMMessage: Whoops. Looks like an internal server error. Search your server logs for request ID: us1:api:cjk35bbjsjyaw0b0272iq62kv
whenever I try to do any queries. There wasn't much changes so I assume it's some dependency issue?cliff76
07/26/2018, 11:49 PMcliff76
07/26/2018, 11:50 PMcliff76
07/26/2018, 11:51 PMThe provided idToken is invalid. Please see <https://auth0.com/docs/tokens/id_token> 5 for how to obtain a valid idToken
Mr. Bell
07/27/2018, 12:45 AM