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

Unable to start Mongo-back-end #12

Open
procode7 opened this issue Jun 26, 2018 · 0 comments
Open

Unable to start Mongo-back-end #12

procode7 opened this issue Jun 26, 2018 · 0 comments

Comments

@procode7
Copy link

C:\elk\statsD\node_modules\statsd\node_modules\mongo-statsd-backend\lib\index.js:21
new mongo.Db(task.name, new mongo.Server(options.host, options.port)).open(function(err, db) {
^

TypeError: (intermediate value).open is not a function
at C:\elk\statsD\node_modules\statsd\node_modules\mongo-statsd-backend\lib\index.js:21:73
at C:\elk\statsD\node_modules\statsd\node_modules\async\dist\async.js:4096:9
at Object.process (C:\elk\statsD\node_modules\statsd\node_modules\async\dist\async.js:2344:17)
at C:\elk\statsD\node_modules\statsd\node_modules\async\dist\async.js:2252:19

.Conf File

{
mongoHost: 'localhost',
mongoPort: 27017,
mongoMax: 2160,
mongoPrefix: true,
mongoName: 'testdata',
backends: ['C:\elk\statsD\node_modules\statsd\node_modules\mongo-statsd-backend\lib\index.js']
}

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