I have a simple app and I want to ingest data from my app to Elastic Search sevice. I followed the steps from this tutorial which seem pretty straightforward - get a free trial, create a deployment, then install with
npm install @elastic/elasticsearch and then test your connection.
npm install @elastic/elasticsearch I can not start my app. I am running it from the terminal with Expo. I keep getting errors from the type:
The package at "node_modules/@elastic/transport/lib/connection/HttpConnection.js" attempted to import the Node standard library module "http". It failed because the native React runtime does not include the Node standard library. I keep installing these packages with
npm install os, but the errors keep persisting with ifferent packages. So I installed packages
paths and so on. The latest such error is with the package
http. I ran
npm install http but the error keep persisting.
I can not start my react native project, and my free trial expires soon. Can someone please advise because I lost several days on this error?