Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No config file found, use defaults #2

Open
redoc123 opened this issue Apr 10, 2018 · 0 comments
Open

No config file found, use defaults #2

redoc123 opened this issue Apr 10, 2018 · 0 comments

Comments

@redoc123
Copy link

redoc123 commented Apr 10, 2018

I updated src/config/index.js mongodb block as follows:

mongodb: {
doc: 'URL to mongodb.',
format: String,
default: 'mongodb://localhost:27017/koapi',
env: 'MONGO_URI'
}

Start up gives the following:

mongodb://localhost:27017/koapi -Failed to connect to Database. Error - TypeError: Cannot read property 'databaseName' of undefined

please suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant