Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Sync database with schema is failing #69

Open
lasanthaj opened this issue Nov 14, 2022 · 1 comment
Open

Sync database with schema is failing #69

lasanthaj opened this issue Nov 14, 2022 · 1 comment

Comments

@lasanthaj
Copy link

lasanthaj commented Nov 14, 2022

I followed all steps from to the installation guide. sync database with schema failing with below errors. please advise

Environment details:

OS : ubuntu 20.04
node version : v14.21.1
nom version : 6.14.17


root@pckd-server:~/Pckd# npm run db-init

[email protected] db-init /root/Pckd
cd server && npm run db-init

[email protected] db-init /root/Pckd/server
npx -y prisma db push

npx: installed 104 in 7.337s
command not found: db
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] db-init: npx -y prisma db push
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] db-init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-11-14T08_42_13_175Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] db-init: cd server && npm run db-init
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] db-init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-11-14T08_42_13_203Z-debug.log

@GoldenBookCover
Copy link

Same here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants