Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run ky[c/b]-manual-review-example #2340

Open
WiseGeorge opened this issue May 4, 2024 · 3 comments
Open

Failed to run ky[c/b]-manual-review-example #2340

WiseGeorge opened this issue May 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@WiseGeorge
Copy link

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/[email protected] 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/[email protected] 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.

@WiseGeorge WiseGeorge added the bug Something isn't working label May 4, 2024
@Omri-Levy
Copy link
Contributor

Hey @WiseGeorge , thanks for the report! Our team will check this issue out and reach back to you.

@shashankvish0010
Copy link
Contributor

shashankvish0010 commented May 7, 2024

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.
 

@WFA-juliver
Copy link

@WiseGeorge Experiencing that also. I need to run commands below to make it run

rm -rf node_modules \
&& pnpm install \
&& pnpm monorepo:init \
&& pnpm run kyb-manual-review-example

and if the above command already been triggered before, every run, i need to do

nx run @ballerine/common:build --skip-nx-cache && pnpm run kyb-manual-review-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants