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

Broken with @elastic/[email protected] #29

Closed
oguimbal opened this issue Aug 20, 2021 · 6 comments
Closed

Broken with @elastic/[email protected] #29

oguimbal opened this issue Aug 20, 2021 · 6 comments

Comments

@oguimbal
Copy link

Hi !

FYI

@gustavolsilvano
Copy link

Hello! @oguimbal
I tried to use @elastic/elasticsearch 7.13, but it still return me this issue. Do you have a workaround for this?
image

@oguimbal
Copy link
Author

oguimbal commented Aug 24, 2021

Really ?
I just double-checked, its working for us in production with @elastic/[email protected] (and [email protected]) 😕

@carlnordenfelt
Copy link

Hello! @oguimbal
I tried to use @elastic/elasticsearch 7.13, but it still return me this issue. Do you have a workaround for this?
image

Check you lock file. You have targeted ^7.13.0. which may install a later minor version, e.g. 7.14.0 which is the one seemingly introducing the problem. Change your dependency to "7.13.0" to ensure that you are running the expected version.

@harissarwar
Copy link

I tried different 7.x versions. It works with @elastic/[email protected]. I get the above error with 7.7.0 and newer ones.
I am using

  • node v16.8.0
  • npm v7.21.0

@luisfavila
Copy link

luisfavila commented Nov 22, 2023

@compwright doesn't seem to be fixed.
I'm guetting the same error using @elastic/[email protected] and [email protected] on a .search():

TypeError: Cannot read properties of null (reading 'then')
    at Object.then (/project/node_modules/@elastic/elasticsearch/lib/Transport.js:151:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@compwright
Copy link
Owner

@luisfavila please provide a complete example that reproduces the issue. If you can provide that, I'll reopen this issue and work on a fix.

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

6 participants