thanks for this...
running [sudo xcode-select --install] allowed me to get past installing adapt-cli
//--
but now i have a new issue:
[sudo node install] stalled on me
so i updated npm: [sudo npm update -g npm]
then in a separate terminal window, i changed directories into mongodb/bin and i ran [./mongod]
i could see the mongdb terminal window change after running [sudo node install] a second time, but now i get errors i can't get past.
i should note that the first time it stalled, i had gotten to the point where the tenant name was being set (master and Master), but the second time when i got the error i did not get to the tenant name.
please help. thanks.
THE ERROR:
Completed installing NodeJS modules.
Now set configuration items. Just press ENTER to accept the default value (in brackets).
> Server port (5000)
> Server name (localhost)
> Database host (localhost)
> Master database name (adapt-tenant-master)
> Database server port (27017)
> Data directory path (data)
> Session secret (your-session-secret)
> Will ffmpeg be used? y/N (N) Y
> Which SMTP service (if any) will be used? (see https://github.com/andris9/nodemailer-wellknown#supported-services for a list of supported services.) (none)
> SMTP username
> SMTP password
> Sender email address
Checking configuration, please wait a moment ...
(node:7070) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::5000
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1259:14)
at listen (net.js:1295:10)
at Server.listen (net.js:1391:5)
at /Users/appFlasher/Documents/adapt_authoring/lib/application.js:486:38
at /Users/appFlasher/Documents/adapt_authoring/lib/application.js:355:12
at /Users/appFlasher/Documents/adapt_authoring/lib/database.js:462:14
at /Users/appFlasher/Documents/adapt_authoring/lib/database.js:386:14
at /Users/appFlasher/Documents/adapt_authoring/node_modules/async/lib/async.js:131:25
at /Users/appFlasher/Documents/adapt_authoring/lib/contentmanager.js:1602:9
at /Users/appFlasher/Documents/adapt_authoring/node_modules/async/lib/async.js:131:25
at /Users/appFlasher/Documents/adapt_authoring/plugins/content/bower/index.js:124:14
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:445:3)
AND THEN WHAT THE MONDODB WINDOW HAD IN IT:
2016-12-18T11:41:58.801-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:50881 #1 (1 connection now open)
2016-12-18T11:41:58.802-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:50882 #2 (2 connections now open)
2016-12-18T11:41:58.837-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:50883 #3 (3 connections now open)
2016-12-18T11:41:58.837-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:50884 #4 (4 connections now open)
2016-12-18T11:41:58.838-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:50885 #5 (5 connections now open)
2016-12-18T11:41:59.991-0800 I INDEX [conn3] build index on: adapt-tenant-master.roles properties: { v: 2, unique: true, key: { name: 1 }, name: "name_1", ns: "adapt-tenant-master.roles", background: true }
2016-12-18T11:41:59.992-0800 I INDEX [conn3] build index done. scanned 0 total records. 0 secs
2016-12-18T11:41:59.992-0800 I COMMAND [conn4] command adapt-tenant-master.users command: listIndexes { listIndexes: "users", cursor: {} } numYields:0 reslen:105 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 }, acquireWaitCount: { r: 1 }, timeAcquiringMicros: { r: 1080226 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_query 1080ms
2016-12-18T11:41:59.992-0800 I COMMAND [conn5] command adapt-tenant-master.sessions command: listIndexes { listIndexes: "sessions", cursor: {} } numYields:0 reslen:105 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 }, acquireWaitCount: { r: 1 }, timeAcquiringMicros: { r: 1017328 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_query 1017ms
2016-12-18T11:41:59.992-0800 I COMMAND [conn3] command adapt-tenant-master.$cmd command: createIndexes { createIndexes: "roles", indexes: [ { name: "name_1", key: { name: 1 }, unique: true, background: true } ], writeConcern: { w: 1 } } numYields:0 reslen:113 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { w: 1, W: 2 } }, Collection: { acquireCount: { w: 1 } } } protocol:op_query 1097ms
2016-12-18T11:42:01.277-0800 I - [conn5] end connection 127.0.0.1:50885 (5 connections now open)
2016-12-18T11:42:01.277-0800 I - [conn3] end connection 127.0.0.1:50883 (5 connections now open)
2016-12-18T11:42:01.277-0800 I - [conn4] end connection 127.0.0.1:50884 (5 connections now open)
2016-12-18T11:42:01.277-0800 I - [conn2] end connection 127.0.0.1:50882 (5 connections now open)
2016-12-18T11:42:01.277-0800 I - [conn1] end connection 127.0.0.1:50881 (5 connections now open)