You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
/node_modules/@llamaindex/azure/dist/index.cjs:315
// Load the documents stored in the data/paul_graham/ using the SimpleDirectoryReader
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/@llamaindex/azure/dist/storage.edge-light.js from /node_modules/@llamaindex/azure/dist/index.cjs not supported.
Instead change the require of storage.edge-light.js in /node_modules/@llamaindex/azure/dist/index.cjs to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object.<anonymous> (/node_modules/@llamaindex/azure/dist/index.cjs:3:28)
at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
code: 'ERR_REQUIRE_ESM'
}
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
use nestjs (commonjs)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
none
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: