SAP-samples / btp-cap-genai-rag

Explore this repository for GenAI samples on SAP Business Technology Platform (SAP BTP). We provide examples for single and multitenant versions, showcasing integration of LLMs via SAP AI Core, LangChain in SAP CAP, and advanced techniques like Retrieval Augmented Generation (RAG).
https://discovery-center.cloud.sap/refArchDetail/ref-arch-open-ai
Apache License 2.0
67 stars 29 forks source link

docs/tutorial/3-deploy/1-BuildTheComponents.md #30

Open rrforever88 opened 1 week ago

rrforever88 commented 1 week ago

Hello,

I'm running into this error on step 5 of build the components.

2024-11-20_12-03-32

Any assistance in resolving this error would be greatly appreciated.

Thanks, Chris

kay-schmitteckert commented 1 week ago

Hi @rrforever88,

Could you please test setting the target value in the tsconfig.json (single-tenant/code/tsconfig.json) from ES2023 to ES2022?

Best Kay

rrforever88 commented 1 week ago

Hi @kay-schmitteckert ,

I updated the target value and now receive the following error. This is the error loop I haven't been able to solve.

target ES2022

Thanks for the quick reply. Let me know if you have any guidance on this new error.

Thanks, Chris

kay-schmitteckert commented 1 week ago

Could you try removing your node_modules in single-tenant/code and install them again? :)