Integrating Elasticsearch into Hugo project using Webpack 5

I am integrating Elasticsearch into my Hugo project using Webpack 5. I have created a new JavaScript file and imported the Elasticsearch client library.

const { Client } = require('@elastic/elasticsearch');

However, I am encountering errors when I try to use it.

ERROR in node:assert
Module build failed: UnhandledSchemeError: Reading from "node:assert" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/pool/ClusterConnectionPool.js 23:46-68
 @ ../node_modules/@elastic/transport/lib/pool/index.js 27:56-90
 @ ../node_modules/@elastic/transport/index.js 34:4-25
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:async_hooks
Module build failed: UnhandledSchemeError: Reading from "node:async_hooks" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/api/api-request.js 8:26-53
 @ ../node_modules/undici/lib/api/index.js 3:0-49
 @ ../node_modules/undici/index.js 14:12-32
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:buffer
Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Transport.js 28:46-68
 @ ../node_modules/@elastic/transport/index.js 23:18-52
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:console
Module build failed: UnhandledSchemeError: Reading from "node:console" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/mock/pending-interceptors-formatter.js 4:20-43
 @ ../node_modules/undici/lib/mock/mock-agent.js 22:37-80
 @ ../node_modules/undici/index.js 17:18-50
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:crypto
Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/web/fetch/util.js 20:11-33
 @ ../node_modules/undici/lib/web/fetch/headers.js 11:4-21
 @ ../node_modules/undici/index.js 118:0-67
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:diagnostics_channel
Module build failed: UnhandledSchemeError: Reading from "node:diagnostics_channel" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/core/diagnostics.js 2:27-62
 @ ../node_modules/undici/lib/dispatcher/client.js 9:21-54
 @ ../node_modules/undici/index.js 3:15-49
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:events
Module build failed: UnhandledSchemeError: Reading from "node:events" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Diagnostic.js 22:22-44
 @ ../node_modules/@elastic/transport/index.js 22:40-67
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:https
Module build failed: UnhandledSchemeError: Reading from "node:https" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/connection/HttpConnection.js 25:45-66
 @ ../node_modules/@elastic/transport/lib/connection/index.js 25:49-76
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:http
Module build failed: UnhandledSchemeError: Reading from "node:http" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/connection/HttpConnection.js 24:44-64
 @ ../node_modules/@elastic/transport/lib/connection/index.js 25:49-76
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:http2
Module build failed: UnhandledSchemeError: Reading from "node:http2" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/dispatcher/client-h2.js 38:10-31
 @ ../node_modules/undici/lib/dispatcher/client.js 61:18-43
 @ ../node_modules/undici/index.js 3:15-49
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:net
Module build failed: UnhandledSchemeError: Reading from "node:net" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/dispatcher/client.js 6:12-31
 @ ../node_modules/undici/index.js 3:15-49
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:os
Module build failed: UnhandledSchemeError: Reading from "node:os" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Transport.js 26:42-60
 @ ../node_modules/@elastic/transport/index.js 23:18-52
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:perf_hooks
Module build failed: UnhandledSchemeError: Reading from "node:perf_hooks" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/web/fetch/util.js 8:24-50
 @ ../node_modules/undici/lib/web/fetch/headers.js 11:4-21
 @ ../node_modules/undici/index.js 118:0-67
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:process
Module build failed: UnhandledSchemeError: Reading from "node:process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Transport.js 30:47-70
 @ ../node_modules/@elastic/transport/index.js 23:18-52
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:querystring
Module build failed: UnhandledSchemeError: Reading from "node:querystring" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Serializer.js 23:27-54
 @ ../node_modules/@elastic/transport/index.js 35:19-54
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:stream
Module build failed: UnhandledSchemeError: Reading from "node:stream" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/connection/HttpConnection.js 30:22-44
 @ ../node_modules/@elastic/transport/lib/connection/index.js 25:49-76
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:timers/promises
Module build failed: UnhandledSchemeError: Reading from "node:timers/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/Transport.js 36:19-50
 @ ../node_modules/@elastic/transport/index.js 23:18-52
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:tls
Module build failed: UnhandledSchemeError: Reading from "node:tls" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/core/connect.js 92:14-33
 @ ../node_modules/undici/index.js 15:23-52
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:url
Module build failed: UnhandledSchemeError: Reading from "node:url" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/pool/BaseConnectionPool.js 23:19-38
 @ ../node_modules/@elastic/transport/lib/pool/index.js 23:53-84
 @ ../node_modules/@elastic/transport/index.js 34:4-25
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:util/types
Module build failed: UnhandledSchemeError: Reading from "node:util/types" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/web/fetch/body.js 20:26-52
 @ ../node_modules/undici/lib/web/fetch/request.js 5:60-77
 @ ../node_modules/undici/index.js 120:0-67
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

ERROR in node:util
Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/@elastic/transport/lib/connection/BaseConnection.js 26:20-40
 @ ../node_modules/@elastic/elasticsearch/lib/client.js 26:25-84
 @ ../node_modules/@elastic/elasticsearch/index.js 37:28-51
 @ ./elastic-search.js 1:15-48

ERROR in node:worker_threads
Module build failed: UnhandledSchemeError: Reading from "node:worker_threads" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:918:25
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:915:8)
    at processResource (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/loader-runner/lib/LoaderRunner.js:398:2)
    at NormalModule._doBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:905:3)
    at NormalModule.build (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1081:15)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1400:12
    at NormalModule.needBuild (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/NormalModule.js:1407:32)
    at Compilation._buildModule (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/Compilation.js:1381:10)
    at /Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:305:10
    at Hook.eval [as callAsync] (eval at create (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncQueue._startProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:295:26)
    at AsyncQueue._ensureProcessing (/Users/sami/yugabyte/yugabyte-db/docs/node_modules/webpack/lib/util/AsyncQueue.js:282:12)
    at process.processImmediate (node:internal/timers:483:21)
 @ ../node_modules/undici/lib/web/websocket/events.js 6:24-54
 @ ../node_modules/undici/index.js 149:49-86
 @ ../node_modules/@elastic/transport/lib/connection/UndiciConnection.js 26:17-34
 @ ../node_modules/@elastic/transport/lib/connection/index.js 27:51-80
 @ ../node_modules/@elastic/transport/index.js 28:4-31
 @ ../node_modules/@elastic/elasticsearch/index.js 35:4-33
 @ ./elastic-search.js 1:15-48

From Elastic Search to Elasticsearch

Added language-clients and removed elastic-app-search

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.