Module '"llamaindex"' has no exported member 'Document'. (and Metadata) #1148
-
When updating to version 0.4.6, I started having a Typescript error saying that Document and Metadata are not being exported from 'llamaindex' module. If someone could help that would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
What's wrong with using the latest 0.5.20? |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, only mentioned 0.4.6 so it's easier for you guys to find the potential problem. |
Beta Was this translation helpful? Give feedback.
-
I am having this same issue with LlamaIndexTS/packages/llamaindex/CHANGELOG.md Line 795 in 2411c9f I tried playing around with my Happy to provide more details if helpful! |
Beta Was this translation helpful? Give feedback.
-
Yes, I remember @himself65 recommending using |
Beta Was this translation helpful? Give feedback.
-
Yeah, please use |
Beta Was this translation helpful? Give feedback.
-
Same error with using NestJs. |
Beta Was this translation helpful? Give feedback.
Yes, I remember @himself65 recommending using
bundler
. You might want to base yourtsconfig.json
on the one from the examples: https://github.com/run-llama/LlamaIndexTS/blob/main/examples/tsconfig.json