veksen
01/29/2018, 1:45 AM[Network error]: Error: Server response was missing for query 'null'.
Error: Server response was missing for query 'null'.
at Object.checkResultAndHandleErrors (C:\novartem\<http://novartem.com|novartem.com>\new_marketplace_staging\marketplace-backend\node_modules\graphql-tools\dist\stitching\errors.js:69:36)
at Object.<anonymous> (C:\novartem\<http://novartem.com|novartem.com>\new_marketplace_staging\marketplace-backend\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:92:52)
at step (C:\novartem\<http://novartem.com|novartem.com>\new_marketplace_staging\marketplace-backend\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:40:23)
at Object.next (C:\novartem\<http://novartem.com|novartem.com>\new_marketplace_staging\marketplace-backend\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:21:53)
at fulfilled (C:\novartem\<http://novartem.com|novartem.com>\new_marketplace_staging\marketplace-backend\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:12:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
veksen
01/29/2018, 1:46 AMveksen
01/29/2018, 1:47 AMPRISMA_STAGE="dev"
PRISMA_ENDPOINT="<https://us1.prisma.sh/backend/dev>"
PRISMA_CLUSTER="public-phantombat-381/prisma-us1"
PRISMA_SECRET="mysecret123"
APP_SECRET="jwtsecret123"
veksen
01/29/2018, 1:48 AMyarn prisma delete
, and now getting an error when running `yarn prisma deploy`:
Checking, if schema file changed !
▸ Mutation fields must be an object with field names as keys or a function which returns such an object.
diit
01/29/2018, 2:51 AMjohnvalustik
01/29/2018, 3:17 AMFi1osof
01/29/2018, 4:04 AMFi1osof
01/29/2018, 4:04 AMFi1osof
01/29/2018, 5:17 AMvarun
01/29/2018, 5:42 AMricardoNava
01/29/2018, 6:56 AMStef
01/29/2018, 7:44 AMaazlant
01/29/2018, 9:00 AMAgnes
01/29/2018, 10:16 AMcongy
01/29/2018, 11:18 AMRory Kelly
01/29/2018, 11:53 AMuser
01/29/2018, 11:54 AMVictor Bianchi
01/29/2018, 1:05 PMgraphql prepare
but I'm getting this error Cannot find module 'bindings-ts'
Victor Bianchi
01/29/2018, 1:06 PMcongy
01/29/2018, 1:48 PMqsys
01/29/2018, 2:08 PMpatrick_madx
01/29/2018, 2:19 PMtoken
field. Randomly generated at the server when the user is created. It has to be token: String! @unique
.
When I create a user via another model (e.g. Company). I would like to set the token field server side. How can I achieve this without copy-ing all the possible ways to create a user in my own schema.graphql
?qsys
01/29/2018, 2:36 PMexp
field)? email verified? other fields? (I've had similar questions a few times already, and it's really a pitty that the payload of the http Authorization
header is not exposed in the permission query system... it would make life with graphcool soooo much more logic)qsys
01/29/2018, 2:37 PMqsys
01/29/2018, 2:46 PMauth0Id
. Since they first want to add eligible addresses before people can login, it's impossible for them to know this auth0Id
. Admins don't want to wait for users to login first, since that isn't very user friendly.Maxime Scibetta
01/29/2018, 4:00 PMyarn start
I've this issue
Maxime SCIBETTA@DESKTOP-Q30836P MINGW64 ~/Documents/s-cool
$ yarn start
yarn start v0.21.3
$ nodemon -e js,graphql -x node -r dotenv/config src/index.js
[nodemon] 1.14.11
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node -r dotenv/config src/index.js`
events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::4000
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at Server.listen (net.js:1476:7)
at C:\Users\Maxime SCIBETTA\Documents\s-cool\node_modules\graphql-yoga\dist\src\index.js:241:34
at new Promise (<anonymous>)
at GraphQLServer.start (C:\Users\Maxime SCIBETTA\Documents\s-cool\node_modules\graphql-yoga\dist\src\index.js:232:16)
at Object.<anonymous> (C:\Users\Maxime SCIBETTA\Documents\s-cool\src\index.js:20:8)
at Module._compile (module.js:643:30)
[nodemon] app crashed - waiting for file changes before starting...
Victor Bianchi
01/29/2018, 4:46 PMpatrick_madx
01/29/2018, 4:50 PMprisma reset
?Maxime Scibetta
01/29/2018, 6:14 PMhttps://puu.sh/zchNX/04891c4d65.png▾
harmony
01/29/2018, 6:16 PM