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

offline: Failure: createEsClient is not a function #10

Open
tarambuka opened this issue Feb 8, 2021 · 1 comment
Open

offline: Failure: createEsClient is not a function #10

tarambuka opened this issue Feb 8, 2021 · 1 comment

Comments

@tarambuka
Copy link

Hello,
I tried to use the client in this way:
const createEsClient = require('serverless-elasticsearch-client') const client = createEsClient({ envPrefix: 'AWS_ES' })
but I got this error: offline: Failure: createEsClient is not a function
I use "serverless-elasticsearch-client": "^1.1.1"
Is it real issue or I'm doing something wrong ?

@dominik-stypula-polcode
Copy link

dominik-stypula-polcode commented Oct 28, 2021

@tarambuka seems documentation is abandoned and not up to date anymore,
seems much better choice would be to use this https://github.com/elastic/elasticsearch-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

2 participants