Failed to run ky[c/b]-manual-review-example
WiseGeorge opened this issue · comments
After installing Ballerine correctly as shown in the Readme, when running the commands:
pnpm run kyc-manual-review-example
&
pnpm run kyb-manual-review-example
I get the following error:
npm run docker:db && npm run db:reset && npm run db:migrate-dev && npm run seed
> @ballerine/workflows-service@0.7.6 docker:db
> docker compose -f docker-compose.db.yml up -d --wait
time="2024-05-04T00:37:07-04:00" level=warning msg="The \"FovZTB91\" variable is not set. Defaulting to a blank string."
time="2024-05-04T00:37:07-04:00" level=warning msg="The \"FovZTB91\" variable is not set. Defaulting to a blank string."
time="2024-05-04T00:37:07-04:00" level=warning msg="The \"FovZTB91\" variable is not set. Defaulting to a blank string."
Container ballerine-x-db-1 Running
Container ballerine-x-db-1 Waiting
Container ballerine-x-db-1 Healthy
> @ballerine/workflows-service@0.7.6 db:reset
> if [ "$DB_USER" != "root" ]; then prisma migrate reset --skip-seed -f; else echo 'Cannot run reset as root'; fi
No se esperaba "$DB_USER" en este momento.
ELIFECYCLE Command failed with exit code 1.
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
> NX Ran target setup for project @ballerine/workflows-service (3s)
× 1/1 failed
√ 0/1 succeeded [0 read from cache]
ELIFECYCLE Command failed with exit code 1.
Hey @WiseGeorge , thanks for the report! Our team will check this issue out and reach back to you.
Hey @WiseGeorge , The issue you are facing is with running the script command "db:reset", until any permanent solution is provided, you can try it by changing the script command to "db:reset": "prisma migrate reset --skip-seed -f" within the services/workflows-service/package.json. That should work fine for now.