Created
October 31, 2019 23:03
-
-
Save zeke/c2572650c5211985b33aa42106f1ec02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/git/forks/library master* | |
$ npm run watch | |
> library@1.2.0 watch /Users/z/git/forks/library | |
> npm run build && concurrently "nodemon --inspect=0.0.0.0 -r dotenv/config -e js,ejs server/index.js" "nodemon -e scss --watch styles --watch custom/styles -x npm run build" | |
> library@1.2.0 build /Users/z/git/forks/library | |
> npm run build:main && npm run build:inline | |
> library@1.2.0 build:main /Users/z/git/forks/library | |
> node-sass --include-path custom/styles --include-path styles/partials --source-map public/css/style.css.map --source-map-contents styles/style.scss public/css/style.css | |
Rendering Complete, saving .css file... | |
Wrote CSS to /Users/z/git/forks/library/public/css/style.css | |
Wrote Source Map to /Users/z/git/forks/library/public/css/style.css.map | |
> library@1.2.0 build:inline /Users/z/git/forks/library | |
> node-sass --include-path custom/styles --include-path styles/partials styles/errors.scss public/css/errors.css | |
Rendering Complete, saving .css file... | |
Wrote CSS to /Users/z/git/forks/library/public/css/errors.css | |
[0] [nodemon] 1.18.10 | |
[0] [nodemon] to restart at any time, enter `rs` | |
[0] [nodemon] watching: *.* | |
[0] [nodemon] starting `node --inspect=0.0.0.0 -r dotenv/config server/index.js` | |
[1] [nodemon] 1.18.10 | |
[1] [nodemon] to restart at any time, enter `rs` | |
[1] [nodemon] watching: /Users/z/git/forks/library/styles/**/* custom/styles | |
[1] [nodemon] starting `npm run build` | |
[0] Debugger listening on ws://0.0.0.0:9229/fb26613a-48b7-4588-95a4-d286145ecbed | |
[0] For help, see: https://nodejs.org/en/docs/inspector | |
[1] | |
[1] > library@1.2.0 build /Users/z/git/forks/library | |
[1] > npm run build:main && npm run build:inline | |
[1] | |
[0] debug: Failed pulling in custom file cache/store @ /Users/z/git/forks/library/custom/cache/store. Error was: | |
[0] { message: | |
[0] 'Cannot find module \'/Users/z/git/forks/library/custom/cache/store\'', | |
[0] stack: | |
[0] 'Error: Cannot find module \'/Users/z/git/forks/library/custom/cache/store\'\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)\n at Function.Module._load (internal/modules/cjs/loader.js:562:25)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at exports.requireWithFallback (/Users/z/git/forks/library/server/utils.js:44:12)\n at Object.<anonymous> (/Users/z/git/forks/library/server/cache.js:9:15)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)', | |
[0] code: 'MODULE_NOT_FOUND' } | |
[1] | |
[1] > library@1.2.0 build:main /Users/z/git/forks/library | |
[1] > node-sass --include-path custom/styles --include-path styles/partials --source-map public/css/style.css.map --source-map-contents styles/style.scss public/css/style.css | |
[1] | |
[0] warn: GOOGLE_APPLICATION_CREDENTIALS was undefined, using default ./.auth.json credentials file... | |
[1] Rendering Complete, saving .css file... | |
[1] Wrote CSS to /Users/z/git/forks/library/public/css/style.css | |
[1] Wrote Source Map to /Users/z/git/forks/library/public/css/style.css.map | |
[0] debug: updating tree... | |
[1] | |
[1] > library@1.2.0 build:inline /Users/z/git/forks/library | |
[1] > node-sass --include-path custom/styles --include-path styles/partials styles/errors.scss public/css/errors.css | |
[1] | |
[1] Rendering Complete, saving .css file... | |
[1] Wrote CSS to /Users/z/git/forks/library/public/css/errors.css | |
[1] [nodemon] clean exit - waiting for changes before restart | |
[0] debug: Failed pulling in custom file userAuth @ /Users/z/git/forks/library/custom/userAuth. Error was: | |
[0] { message: | |
[0] 'Cannot find module \'/Users/z/git/forks/library/custom/userAuth\'', | |
[0] stack: | |
[0] 'Error: Cannot find module \'/Users/z/git/forks/library/custom/userAuth\'\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)\n at Function.Module._load (internal/modules/cjs/loader.js:562:25)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at exports.requireWithFallback (/Users/z/git/forks/library/server/utils.js:44:12)\n at Object.<anonymous> (/Users/z/git/forks/library/server/index.js:20:18)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)', | |
[0] code: 'MODULE_NOT_FOUND' } | |
[0] debug: Failed pulling in custom file csp @ /Users/z/git/forks/library/custom/csp. Error was: | |
[0] { message: | |
[0] 'Cannot find module \'/Users/z/git/forks/library/custom/csp\'', | |
[0] stack: | |
[0] 'Error: Cannot find module \'/Users/z/git/forks/library/custom/csp\'\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)\n at Function.Module._load (internal/modules/cjs/loader.js:562:25)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at exports.requireWithFallback (/Users/z/git/forks/library/server/utils.js:44:12)\n at Object.<anonymous> (/Users/z/git/forks/library/server/index.js:21:19)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)', | |
[0] code: 'MODULE_NOT_FOUND' } | |
[0] info: Google API auth successfully retrieved. | |
[0] (node:48015) [google-auth-library:DEP004] DeprecationWarning: The `createScopedRequired` method on the `JWT` class has been deprecated, and will be removed in the 3.0 release of google-auth-library. | |
[0] debug: searching for files > 0 | |
[0] warn: failed updating tree | |
[0] { message: 'File not found: .', | |
[0] stack: | |
[0] 'Error: File not found: .\n at Gaxios.<anonymous> (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:72:27)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:16:58)\n at process._tickCallback (internal/process/next_tick.js:68:7)\nFrom previous event:\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:29:16\nFrom previous event:\n at _inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:28:25)\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:22:14\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)\nFrom previous event:\n at inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:14:40)\n at updateTree (/Users/z/git/forks/library/server/list.js:67:10)\n at startTreeRefresh (/Users/z/git/forks/library/server/list.js:387:11)\n at Object.<anonymous> (/Users/z/git/forks/library/server/list.js:64:1)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Module.require (internal/modules/cjs/loader.js:692:17)\n at require (internal/modules/cjs/helpers.js:25:18)\n at Object.<anonymous> (/Users/z/git/forks/library/server/index.js:11:19)\n at Module._compile (internal/modules/cjs/loader.js:778:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)\n at startup (internal/bootstrap/node.js:283:19)', | |
[0] response: | |
[0] { config: | |
[0] { url: | |
[0] 'https://www.googleapis.com/drive/v3/files?q=%270123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW%27%20in%20parents&fields=nextPageToken%2Cfiles%28id%2Cname%2CmimeType%2Cparents%2CwebViewLink%2CcreatedTime%2CmodifiedTime%2ClastModifyingUser%29', | |
[0] method: 'GET', | |
[0] paramsSerializer: [Function], | |
[0] headers: | |
[0] { 'Accept-Encoding': 'gzip', | |
[0] 'User-Agent': 'google-api-nodejs-client/0.7.2 (gzip)', | |
[0] Authorization: | |
[0] 'Bearer ya29.c.KmGvByxtMSky9jHJIpowl1Gat1LTQ-SrZKL2DXINVdiWgCHZIFWofklQvfqXPNnkLQG7CIkXNFWcmNKxmdUuoLqKY0WT1Y-mAXyMEoc215peXXGGkqs0Xt7sopoN9jZPkK0k', | |
[0] Accept: 'application/json' }, | |
[0] params: | |
[0] { q: | |
[0] '\'0123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW\' in parents', | |
[0] fields: | |
[0] 'nextPageToken,files(id,name,mimeType,parents,webViewLink,createdTime,modifiedTime,lastModifyingUser)' }, | |
[0] validateStatus: [Function], | |
[0] responseType: 'json' }, | |
[0] data: | |
[0] { error: | |
[0] { errors: | |
[0] [ { domain: 'global', | |
[0] reason: 'notFound', | |
[0] message: 'File not found: .', | |
[0] locationType: 'parameter', | |
[0] location: 'fileId' } ], | |
[0] code: 404, | |
[0] message: 'File not found: .' } }, | |
[0] headers: | |
[0] { 'alt-svc': | |
[0] 'quic=":443"; ma=2592000; v="46,43",h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000', | |
[0] 'cache-control': 'private, max-age=0', | |
[0] connection: 'close', | |
[0] 'content-encoding': 'gzip', | |
[0] 'content-type': 'application/json; charset=UTF-8', | |
[0] date: 'Thu, 31 Oct 2019 23:02:27 GMT', | |
[0] expires: 'Thu, 31 Oct 2019 23:02:27 GMT', | |
[0] server: 'GSE', | |
[0] 'transfer-encoding': 'chunked', | |
[0] vary: 'Origin, X-Origin', | |
[0] 'x-content-type-options': 'nosniff', | |
[0] 'x-frame-options': 'SAMEORIGIN', | |
[0] 'x-xss-protection': '1; mode=block' }, | |
[0] status: 404, | |
[0] statusText: 'Not Found' }, | |
[0] config: { '$ref': '$["response"]["config"]' }, | |
[0] code: 404, | |
[0] errors: { '$ref': '$["response"]["data"]["error"]["errors"]' }, | |
[0] __stackCleaned__: true } | |
[0] debug: updating tree... | |
[0] debug: searching for files > 0 | |
[0] warn: failed updating tree | |
[0] { message: 'File not found: .', | |
[0] stack: | |
[0] 'Error: File not found: .\n at Gaxios.<anonymous> (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:72:27)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:16:58)\n at process._tickCallback (internal/process/next_tick.js:68:7)\nFrom previous event:\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:29:16\nFrom previous event:\n at _inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:28:25)\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:22:14\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)\nFrom previous event:\n at inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:14:40)\n at updateTree (/Users/z/git/forks/library/server/list.js:67:10)\n at startTreeRefresh (/Users/z/git/forks/library/server/list.js:387:11)\n at Timeout.setTimeout [as _onTimeout] (/Users/z/git/forks/library/server/list.js:393:22)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)', | |
[0] response: | |
[0] { config: | |
[0] { url: | |
[0] 'https://www.googleapis.com/drive/v3/files?q=%270123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW%27%20in%20parents&fields=nextPageToken%2Cfiles%28id%2Cname%2CmimeType%2Cparents%2CwebViewLink%2CcreatedTime%2CmodifiedTime%2ClastModifyingUser%29', | |
[0] method: 'GET', | |
[0] paramsSerializer: [Function], | |
[0] headers: | |
[0] { 'Accept-Encoding': 'gzip', | |
[0] 'User-Agent': 'google-api-nodejs-client/0.7.2 (gzip)', | |
[0] Authorization: | |
[0] 'Bearer ya29.c.KmGvByxtMSky9jHJIpowl1Gat1LTQ-SrZKL2DXINVdiWgCHZIFWofklQvfqXPNnkLQG7CIkXNFWcmNKxmdUuoLqKY0WT1Y-mAXyMEoc215peXXGGkqs0Xt7sopoN9jZPkK0k', | |
[0] Accept: 'application/json' }, | |
[0] params: | |
[0] { q: | |
[0] '\'0123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW\' in parents', | |
[0] fields: | |
[0] 'nextPageToken,files(id,name,mimeType,parents,webViewLink,createdTime,modifiedTime,lastModifyingUser)' }, | |
[0] validateStatus: [Function], | |
[0] responseType: 'json' }, | |
[0] data: | |
[0] { error: | |
[0] { errors: | |
[0] [ { domain: 'global', | |
[0] reason: 'notFound', | |
[0] message: 'File not found: .', | |
[0] locationType: 'parameter', | |
[0] location: 'fileId' } ], | |
[0] code: 404, | |
[0] message: 'File not found: .' } }, | |
[0] headers: | |
[0] { 'alt-svc': | |
[0] 'quic=":443"; ma=2592000; v="46,43",h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000', | |
[0] 'cache-control': 'private, max-age=0', | |
[0] connection: 'close', | |
[0] 'content-encoding': 'gzip', | |
[0] 'content-type': 'application/json; charset=UTF-8', | |
[0] date: 'Thu, 31 Oct 2019 23:02:42 GMT', | |
[0] expires: 'Thu, 31 Oct 2019 23:02:42 GMT', | |
[0] server: 'GSE', | |
[0] 'transfer-encoding': 'chunked', | |
[0] vary: 'Origin, X-Origin', | |
[0] 'x-content-type-options': 'nosniff', | |
[0] 'x-frame-options': 'SAMEORIGIN', | |
[0] 'x-xss-protection': '1; mode=block' }, | |
[0] status: 404, | |
[0] statusText: 'Not Found' }, | |
[0] config: { '$ref': '$["response"]["config"]' }, | |
[0] code: 404, | |
[0] errors: { '$ref': '$["response"]["data"]["error"]["errors"]' }, | |
[0] __stackCleaned__: true } | |
[0] debug: updating tree... | |
[0] debug: searching for files > 0 | |
[0] warn: failed updating tree | |
[0] { message: 'File not found: .', | |
[0] stack: | |
[0] 'Error: File not found: .\n at Gaxios.<anonymous> (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:72:27)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/z/git/forks/library/node_modules/gaxios/build/src/gaxios.js:16:58)\n at process._tickCallback (internal/process/next_tick.js:68:7)\nFrom previous event:\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:29:16\nFrom previous event:\n at _inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:28:25)\n at /Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:22:14\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)\nFrom previous event:\n at inflight (/Users/z/git/forks/library/node_modules/promise-inflight/inflight.js:14:40)\n at updateTree (/Users/z/git/forks/library/server/list.js:67:10)\n at startTreeRefresh (/Users/z/git/forks/library/server/list.js:387:11)\n at Timeout.setTimeout [as _onTimeout] (/Users/z/git/forks/library/server/list.js:393:22)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)', | |
[0] response: | |
[0] { config: | |
[0] { url: | |
[0] 'https://www.googleapis.com/drive/v3/files?q=%270123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW%27%20in%20parents&fields=nextPageToken%2Cfiles%28id%2Cname%2CmimeType%2Cparents%2CwebViewLink%2CcreatedTime%2CmodifiedTime%2ClastModifyingUser%29', | |
[0] method: 'GET', | |
[0] paramsSerializer: [Function], | |
[0] headers: | |
[0] { 'Accept-Encoding': 'gzip', | |
[0] 'User-Agent': 'google-api-nodejs-client/0.7.2 (gzip)', | |
[0] Authorization: | |
[0] 'Bearer ya29.c.KmGvByxtMSky9jHJIpowl1Gat1LTQ-SrZKL2DXINVdiWgCHZIFWofklQvfqXPNnkLQG7CIkXNFWcmNKxmdUuoLqKY0WT1Y-mAXyMEoc215peXXGGkqs0Xt7sopoN9jZPkK0k', | |
[0] Accept: 'application/json' }, | |
[0] params: | |
[0] { q: | |
[0] '\'0123456ABCDEF1a8Et1z88uePwYInbOyhnpnhPYDX5mMDW\' in parents', | |
[0] fields: | |
[0] 'nextPageToken,files(id,name,mimeType,parents,webViewLink,createdTime,modifiedTime,lastModifyingUser)' }, | |
[0] validateStatus: [Function], | |
[0] responseType: 'json' }, | |
[0] data: | |
[0] { error: | |
[0] { errors: | |
[0] [ { domain: 'global', | |
[0] reason: 'notFound', | |
[0] message: 'File not found: .', | |
[0] locationType: 'parameter', | |
[0] location: 'fileId' } ], | |
[0] code: 404, | |
[0] message: 'File not found: .' } }, | |
[0] headers: | |
[0] { 'alt-svc': | |
[0] 'quic=":443"; ma=2592000; v="46,43",h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000', | |
[0] 'cache-control': 'private, max-age=0', | |
[0] connection: 'close', | |
[0] 'content-encoding': 'gzip', | |
[0] 'content-type': 'application/json; charset=UTF-8', | |
[0] date: 'Thu, 31 Oct 2019 23:02:58 GMT', | |
[0] expires: 'Thu, 31 Oct 2019 23:02:58 GMT', | |
[0] server: 'GSE', | |
[0] 'transfer-encoding': 'chunked', | |
[0] vary: 'Origin, X-Origin', | |
[0] 'x-content-type-options': 'nosniff', | |
[0] 'x-frame-options': 'SAMEORIGIN', | |
[0] 'x-xss-protection': '1; mode=block' }, | |
[0] status: 404, | |
[0] statusText: 'Not Found' }, | |
[0] config: { '$ref': '$["response"]["config"]' }, | |
[0] code: 404, | |
[0] errors: { '$ref': '$["response"]["data"]["error"]["errors"]' }, | |
[0] __stackCleaned__: true } | |
[ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment