Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
this was after fetching and merging commits off master branch,commit 42
➜ Bears-Team-22 git:(master) npm run start
> knowledge@0.0.0 start /Users/vincenttang/www/Bears-Team-22
> concurrently npm:start:*
[start:client] > knowledge@0.0.0 start:client /Users/vincenttang/www/Bears-Team-22
[start:client] > cd client && npm run build && npm start
[start:server] > knowledge@0.0.0 start:server /Users/vincenttang/www/Bears-Team-22
[start:server] > cd server && docker-compose up
[start:client] > knowledge-client@0.0.0 build /Users/vincenttang/www/Bears-Team-22/client
[start:client] > next build
Starting server_mongo_1 ... done
Starting server_server_1 ...
[start:client] [10:48:27 PM] Compiling client
Starting server_server_1 ... done
Attaching to server_mongo_1, server_server_1
[start:server] mongo_1 | 2019-01-24T03:48:26.588+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=f29bc4e961a1
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] db version v4.0.5
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] git version: 3739429dd92b92d1b0ab120911a23d50bf03c412
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] allocator: tcmalloc
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] modules: none
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] build environment:
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] distmod: ubuntu1604
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] distarch: x86_64
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] target_arch: x86_64
[start:server] mongo_1 | 2019-01-24T03:48:26.591+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } }
[start:server] mongo_1 | 2019-01-24T03:48:26.592+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
[start:server] mongo_1 | 2019-01-24T03:48:26.592+0000 I STORAGE [initandlisten]
[start:server] mongo_1 | 2019-01-24T03:48:26.592+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
[start:server] mongo_1 | 2019-01-24T03:48:26.592+0000 I STORAGE [initandlisten] ** See
[start:server] mongo_1 | 2019-01-24T03:48:26.592+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
[start:server] mongo_1 | 2019-01-24T03:48:27.323+0000 I STORAGE [initandlisten] WiredTiger message [1548301707:323094][1:0x7f4951e52a40], txn-recover: Main recovery loop: starting at 3/6400 to 4/256
[start:server] mongo_1 | 2019-01-24T03:48:27.422+0000 I STORAGE [initandlisten] WiredTiger message [1548301707:422211][1:0x7f4951e52a40], txn-recover: Recovering log 3 through 4
[start:server] mongo_1 | 2019-01-24T03:48:27.493+0000 I STORAGE [initandlisten] WiredTiger message [1548301707:493661][1:0x7f4951e52a40], txn-recover: Recovering log 4 through 4
[start:server] mongo_1 | 2019-01-24T03:48:27.549+0000 I STORAGE [initandlisten] WiredTiger message [1548301707:549617][1:0x7f4951e52a40], txn-recover: Set global recovery timestamp: 0
[start:server] mongo_1 | 2019-01-24T03:48:27.563+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
[start:server] mongo_1 | 2019-01-24T03:48:27.573+0000 I CONTROL [initandlisten]
[start:server] mongo_1 | 2019-01-24T03:48:27.573+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
[start:server] mongo_1 | 2019-01-24T03:48:27.573+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
[start:server] mongo_1 | 2019-01-24T03:48:27.573+0000 I CONTROL [initandlisten]
[start:server] mongo_1 | 2019-01-24T03:48:27.597+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/'
[start:server] mongo_1 | 2019-01-24T03:48:27.599+0000 I NETWORK [initandlisten] waiting for connections on port 27017
[start:server] server_1 |
[start:server] server_1 | > knowledge-server@0.0.0 start /server
[start:server] server_1 | > node index.js
[start:server] server_1 |
[start:server] server_1 | /server/node_modules/firebase-admin/lib/auth/credential.js:118
[start:server] server_1 | throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INVALID_CREDENTIAL, errorMessage);
[start:server] server_1 | ^
[start:server] server_1 |
[start:server] server_1 | Error: Certificate object must contain a string "private_key" property.
[start:server] server_1 | at FirebaseAppError.FirebaseError [as constructor] (/server/node_modules/firebase-admin/lib/utils/error.js:39:28)
[start:server] server_1 | at FirebaseAppError.PrefixedFirebaseError [as constructor] (/server/node_modules/firebase-admin/lib/utils/error.js:85:28)
[start:server] server_1 | at new FirebaseAppError (/server/node_modules/firebase-admin/lib/utils/error.js:119:28)
[start:server] server_1 | at new Certificate (/server/node_modules/firebase-admin/lib/auth/credential.js:118:19)
[start:server] server_1 | at new CertCredential (/server/node_modules/firebase-admin/lib/auth/credential.js:173:64)
[start:server] server_1 | at Object.cert (/server/node_modules/firebase-admin/lib/firebase-namespace.js:220:58)
[start:server] server_1 | at Object.<anonymous> (/server/index.js:19:31)
[start:server] server_1 | at Module._compile (internal/modules/cjs/loader.js:689:30)
[start:server] server_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[start:server] server_1 | at Module.load (internal/modules/cjs/loader.js:599:32)
[start:server] server_1 | at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
[start:server] server_1 | at Function.Module._load (internal/modules/cjs/loader.js:530:3)
[start:server] server_1 | at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
[start:server] server_1 | at startup (internal/bootstrap/node.js:283:19)
[start:server] server_1 | at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[start:server] server_1 | npm ERR! code ELIFECYCLE
[start:server] server_1 | npm ERR! errno 1
[start:server] server_1 | npm ERR! knowledge-server@0.0.0 start: `node index.js`
[start:server] server_1 | npm ERR! Exit status 1
[start:server] server_1 | npm ERR!
[start:server] server_1 | npm ERR! Failed at the knowledge-server@0.0.0 start script.
[start:server] server_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[start:server] server_1 |
[start:server] server_1 | npm ERR! A complete log of this run can be found in:
[start:server] server_1 | npm ERR! /root/.npm/_logs/2019-01-24T03_48_32_278Z-debug.log
[start:server] server_server_1 exited with code 1
[10:48:32 PM] Compiled server in 6s
[start:client] [10:48:44 PM] Compiled client in 18s
[start:client] > knowledge-client@0.0.0 start /Users/vincenttang/www/Bears-Team-22/client
[start:client] > next start
[start:client] > Ready on http://localhost:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.