|master ✓| → npm start
node-rest-starter@0.6.0 start xxxxx
node ./src/index.js
xxxx/api/src/config/mongoose.js:34
throw new Error(Unable to connect to database: ${mongoUri})
^
Error: Unable to connect to database: localhost
at NativeConnection. (xxx/api/src/config/mongoose.js:34:9)
at NativeConnection.emit (events.js:314:20)
at xxxx/api/node_modules/mongoose/lib/connection.js:809:37
at processTicksAndRejections (internal/process/task_queues.js:75:11)
|master ✓| → npm start
xxxx/api/src/config/mongoose.js:34
throw new Error(
Unable to connect to database: ${mongoUri})^
Error: Unable to connect to database: localhost
at NativeConnection. (xxx/api/src/config/mongoose.js:34:9)
at NativeConnection.emit (events.js:314:20)
at xxxx/api/node_modules/mongoose/lib/connection.js:809:37
at processTicksAndRejections (internal/process/task_queues.js:75:11)