lastmjs
10/17/2017, 6:06 PMassignment-lti-launch:
handler:
code:
src: ./functions/assignment-lti-launch/assignment-lti-launch.js
environment:
PRENDUS_LTI_SECRET: ${env:PRENDUS_LTI_SECRET}
type: resolver
schema: ./functions/assignment-lti-launch/assignment-lti-launch.graphql
agartha
10/17/2017, 6:08 PMlastmjs
10/17/2017, 6:08 PMagartha
10/17/2017, 6:11 PMgraphcool@alpha
(you can always go back of course...)lastmjs
10/17/2017, 6:12 PMagartha
10/17/2017, 6:17 PMlastmjs
10/17/2017, 6:17 PMagartha
10/17/2017, 6:17 PMlastmjs
10/17/2017, 6:18 PMagartha
10/17/2017, 6:18 PMlastmjs
10/17/2017, 6:18 PMTypeError: fs.pathExistsSync is not a function
at Bundler.<anonymous> (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/src/commands/deploy/Bundler/Bundler.ts:65:13)
at step (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/Bundler/Bundler.js:40:23)
at Object.next (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/Bundler/Bundler.js:21:53)
at /home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/Bundler/Bundler.js:15:71
at Promise (<anonymous>)
at __awaiter (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/Bundler/Bundler.js:11:12)
at Bundler.bundle (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/Bundler/Bundler.js:82:16)
at Deploy.<anonymous> (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/src/commands/deploy/index.ts:232:43)
at step (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:42:23)
at Object.next (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:23:53)
at /home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:17:71
at Promise (<anonymous>)
at __awaiter (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:13:12)
at Deploy.deploy (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:224:16)
at Deploy.<anonymous> (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/src/commands/deploy/index.ts:164:16)
at step (/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/dist/commands/deploy/index.js:42:23)
agartha
10/17/2017, 6:22 PMlastmjs
10/17/2017, 6:22 PMagartha
10/17/2017, 6:24 PM/home/lastmj/development/prendus/prendus-app/node_modules/graphcool-cli-core/src/commands/deploy/Bundler/Bundler.ts
* as 'fs' from 'fs-extra'
?lastmjs
10/17/2017, 6:25 PMagartha
10/17/2017, 6:27 PMlastmjs
10/17/2017, 6:27 PMagartha
10/17/2017, 6:27 PMlastmjs
10/17/2017, 6:27 PMagartha
10/17/2017, 6:28 PMlastmjs
10/17/2017, 6:29 PMagartha
10/17/2017, 6:30 PMlastmjs
10/17/2017, 6:30 PMagartha
10/17/2017, 6:34 PMlastmjs
10/17/2017, 6:40 PMagartha
10/17/2017, 6:42 PMlastmjs
10/17/2017, 6:43 PMconst fs = require('fs-extra')
fs.pathExistsSync()
TypeError: fs.pathExistsSync is not a function
0.30.0
agartha
10/17/2017, 6:46 PMlastmjs
10/17/2017, 6:46 PMagartha
10/17/2017, 6:47 PMlastmjs
10/17/2017, 6:48 PMagartha
10/17/2017, 6:48 PMlastmjs
10/17/2017, 6:48 PMagartha
10/17/2017, 6:48 PMlastmjs
10/17/2017, 6:49 PMnpm install fs-extra
!agartha
10/17/2017, 6:49 PMlastmjs
10/17/2017, 6:49 PM"electron-download": {
"version": "3.3.0",
"resolved": "<https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz>",
"integrity": "sha1-LP1U1pZsAZxNSa1l++Zcyc3vaMg=",
"dev": true,
"requires": {
"debug": "2.6.8",
"fs-extra": "0.30.0",
"home-path": "1.0.5",
"minimist": "1.2.0",
"nugget": "2.0.1",
"path-exists": "2.1.0",
"rc": "1.2.1",
"semver": "5.4.1",
"sumchecker": "1.3.1"
},
"dependencies": {
"fs-extra": {
"version": "0.30.0",
"resolved": "<https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz>",
"integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=",
"dev": true,
"requires": {
"graceful-fs": "4.1.11",
"jsonfile": "2.4.0",
"klaw": "1.3.1",
"path-is-absolute": "1.0.1",
"rimraf": "2.6.1"
}
},
"jsonfile": {
"version": "2.4.0",
"resolved": "<https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz>",
"integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
"dev": true,
"requires": {
"graceful-fs": "4.1.11"
}
}
}
}
agartha
10/17/2017, 6:52 PMlastmjs
10/17/2017, 6:52 PM"electron": {
"version": "1.6.11",
"resolved": "<https://registry.npmjs.org/electron/-/electron-1.6.11.tgz>",
"integrity": "sha1-vnnA69zv7bW/KBF0CYAPpTus7/o=",
"dev": true,
"requires": {
"@types/node": "7.0.39",
"electron-download": "3.3.0",
"extract-zip": "1.6.5"
}
}
agartha
10/17/2017, 6:53 PMlastmjs
10/17/2017, 6:54 PMnpm install graphcool@next
was: npm WARN deprecated xlsjs@0.7.6: xlsjs has been merged into xlsx module
npm WARN ajv-keywords@2.1.0 requires a peer of ajv@>=5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN prendus-app@0.4.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ graphcool@0.7.0
agartha
10/17/2017, 6:54 PMlastmjs
10/17/2017, 6:55 PMagartha
10/17/2017, 6:55 PMlastmjs
10/17/2017, 6:55 PMagartha
10/17/2017, 6:55 PMlastmjs
10/17/2017, 6:56 PMagartha
10/17/2017, 6:56 PMlastmjs
10/17/2017, 6:56 PMagartha
10/17/2017, 6:57 PMlastmjs
10/17/2017, 6:57 PMagartha
10/17/2017, 7:38 PMlastmjs
10/17/2017, 7:51 PMagartha
10/17/2017, 8:00 PMlastmjs
10/17/2017, 8:43 PMagartha
10/17/2017, 8:43 PMlastmjs
10/17/2017, 11:17 PMprocess.env
, is that still supposed to work?agartha
10/17/2017, 11:17 PMlastmjs
10/17/2017, 11:18 PMagartha
10/17/2017, 11:19 PM