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

Installing axios package is causing application to break in winston start #130

Open
gpradeepjain opened this issue Apr 4, 2020 · 2 comments

Comments

@gpradeepjain
Copy link

I have a node application.

Node v: v10.11.0

We use winston and winston-elasticsearch. Code work fine. As soon as i install axios(0.19.2) package, it starts to break throwing out error. I am clue less as to why the error is thrown.

transports.push.apply(transports, [new _winstonElasticsearch2.default({
^

TypeError: _winstonElasticsearch2.default is not a constructor

@jremerich
Copy link

@gpradeepjain Did you solve this problem? I think I'm having the same problem

@gpradeepjain
Copy link
Author

I updated the winston elastic search and all worked fine.

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

2 participants