-
Notifications
You must be signed in to change notification settings - Fork 726
v7.10.0 does not build #1397
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
Comments
Hello! A few questions:
|
@delvedor Hope this answer your questions. |
This library is not meant to work from the browser, as you can see here. |
💬 Questions and Help
Please note that this issue tracker is not a help forum and this issue may be closed.
Hello!
I have the same issue form this topic (#803) but nothing from there is helping me.
Im trying to import elasticsearch in my app.
I installed npm install @elastic/elasticsearch and npm i @types/node
node: v12.16.1
@elastic/elasticsearch: ^7.10.0
os: MacOS 10.15.6
typescript: ^3.7.2
When i try what @delvedor suggested #803 (comment)
my index is empty.
In the code i just imported:
import { Client } from '@elastic/elasticsearch';
and then const client = new Client({ node: 'http://localhost:9200' });
The error that i get when i try to run the app :

Thank you!
The text was updated successfully, but these errors were encountered: