generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Expected Behaviour
According to the README documentation in the examples/end-to-end-use-cases/building-a-rag-pipeline, you should be able to get up and running by running the following commands:
npm install
npm run build-pkgCurrent Behaviour
Running npm run build-pkg fails due to lerna.json not being found at the folder level.
Environment info
| Tool | Version |
|---|---|
| MacOS | Sequoia 15.2 |
| ZSH | 5.9 |
| Node | 20.18.0 |
| NPM | 10.9.9 |
Code snippet
Not applicable
Steps to Reproduce
npm installat the root levelcd examples/end-to-end-use-cases/building-a-rag-pipelinenpm installnpm run build-pkg
Possible Solution
Instead of npm run build-pkg in the example project directory, run npm run build at the root level. After that everything works as expected.
Project Lakechain version
latest
Execution logs
❯ npm run build-pkg
> [email protected] build-pkg
> npx lerna run build --scope=building-a-rag-pipeline --include-dependencies
lerna notice cli v8.1.9
lerna ERR! ENOLERNA `lerna.json` does not exist, have you run `lerna init`?
npm error Lifecycle script `build-pkg` failed with error:
npm error code 1
npm error path /Repositories/project-lakechain/examples/end-to-end-use-cases/building-a-rag-pipeline
npm error workspace [email protected]
npm error location /Repositories/project-lakechain/examples/end-to-end-use-cases/building-a-rag-pipeline
npm error command failed
npm error command sh -c npx lerna run build --scope=building-a-rag-pipeline --include-dependencies