welf
10/18/2017, 3:41 AMJay
10/18/2017, 5:14 AMJay
10/18/2017, 5:15 AMkimf
10/18/2017, 5:59 AMDeploying function signup for project cj8wljd9e00060140xr7l9rp0...
Deploying function signup for project cj8wljd9e00060140xr7l9rp0... Done.
/var/faas/functions/cj8wljd9e00060140xr7l9rp0/signup/src/email-password/signup-dev.js
false
false
Function invocation summary for project cj8wljd9e00060140xr7l9rp0 and function signup:
Duration: 7210ms
Success: true
Function return value: '{"error":"An unexpected error occured."}'
Error: ''
Process stdout: 'Error: GraphQL Error (Code: 200): {"response":{"code":3016,"requestId":"us-west-2:simple:cj8vq4kbi00000121ocsygg2s","error":"Project not found: 'cj8wljd9e00060140xr7l9rp0'","status":200},"request":{"query":"\n query {\n User(email: \"<mailto:kim.fransman@gmail.com|kim.fransman@gmail.com>\") {\n id\n }\n }"}}
'
Process stderr: ''
`
Any idea to what Iβm doing wrong?rion
10/18/2017, 7:12 AMrion
10/18/2017, 7:12 AMtype Budget {
status: String
error_type: String
budget: Json
proposals: [Json]
}
extend type Query {
getProposals(): Budget
}
rion
10/18/2017, 7:12 AMrion
10/18/2017, 7:12 AMtype Budget {
status: String
error_type: String
budget: Json
proposals: [Json]
}
extend type Query {
getProposals: Budget
}
rion
10/18/2017, 7:14 AMdaniele
10/18/2017, 8:32 AMdiemol
10/18/2017, 8:50 AMMaslov
10/18/2017, 10:08 AMMaslov
10/18/2017, 10:08 AMMaslov
10/18/2017, 10:08 AMCipri
10/18/2017, 11:39 AMnotrab
10/18/2017, 1:15 PMPedro Jardim
10/18/2017, 1:40 PMJannis Pohlmann
10/18/2017, 2:12 PMJannis Pohlmann
10/18/2017, 2:13 PMJannis Pohlmann
10/18/2017, 2:14 PMgraphcool-lib@next
and event.context.graphcool.pat
should now be event.context.graphcool.token
but it isnβt set.Miles Robinson
10/18/2017, 3:03 PMGraphQL execution errors for query 'allPosts'
matthewhager
10/18/2017, 3:28 PMPieter
10/18/2017, 3:59 PM/0x0:400x400
which will take the first 400 pixels top left, but if the original image is like 4000 pixels wide, it will crop out most of the image. I want it to just make it squared without stretching it, so if width is more than height, it should take the height and crop the width on the sides to make it same as heightPieter
10/18/2017, 4:00 PMagartha
10/18/2017, 5:36 PMtaikn
10/18/2017, 6:09 PMadamT
10/18/2017, 9:25 PMSam Dickerman
10/18/2017, 9:38 PMserver
graphcool init server
and then:
graphcool init creates the local service structure inside the specified server directory:
.
βββ server
βββ graphcool.yml
βββ types.graphql
βββ .graphcoolrc
βββ src
βββ hello.graphql
βββ hello.js
However - that process isn't creating any files in my project directory (the directory I'm in using terminal) I do get the project.graphcool file:
βοΈ Created project Slowwarrior Voice (ID: xxxxxxx) successfully.
Here is what you can do next:
1) Open project.graphcool in your editor to update your schema.
You can push your changes using graphcool push
.
2) Use one of the following endpoints to connect to your GraphQL API:
Simple API: https://api.graph.cool/simple/v1/xx
Relay API: https://api.graph.cool/relay/v1/xxx
3) Edit your project using the Console. Run graphcool console
to open it.Sam Dickerman
10/18/2017, 9:45 PMshadi
10/18/2017, 10:05 PMconst fromEvent = require("graphcool-lib").fromEvent
, when included in a function in a legacy project, throws this error SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module._compile (/data/sandbox/lib/module.js:127:21)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at WebtaskModule.require (/data/sandbox/lib/module.js:101:19)
at require (/data/sandbox/lib/module.js:136:21)
at Object.<anonymous> (/data/io/29af25e3b10f4e559e5d20dd0f2430c2/webtask.js:1:81)
at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:95:34)