$ npx prisma generate ERROR: npm error code EAGAIN npm error syscall spawn sh npm error path /home/prileiqb/ksl-backend npm error errno -11 npm error spawn sh EAGAIN npm error command sh -c "prisma" generate npm error A complete log of this run can be found in: /home/prileiqb/.npm/_logs/2026-08-08T12_22_22_640Z-debug-0.log Command failed: npx prisma generate npm error code EAGAIN npm error syscall spawn sh npm error path /home/prileiqb/ksl-backend npm error errno -11 npm error spawn sh EAGAIN npm error command sh -c "prisma" generate npm error A complete log of this run can be found in: /home/prileiqb/.npm/_logs/2026-08-08T12_22_22_640Z-debug-0.log $ npx prisma migrate deploy ERROR: npm error code EAGAIN npm error syscall spawn sh npm error path /home/prileiqb/ksl-backend npm error errno -11 npm error spawn sh EAGAIN npm error command sh -c "prisma" migrate deploy npm error A complete log of this run can be found in: /home/prileiqb/.npm/_logs/2026-08-08T12_22_23_294Z-debug-0.log Command failed: npx prisma migrate deploy npm error code EAGAIN npm error syscall spawn sh npm error path /home/prileiqb/ksl-backend npm error errno -11 npm error spawn sh EAGAIN npm error command sh -c "prisma" migrate deploy npm error A complete log of this run can be found in: /home/prileiqb/.npm/_logs/2026-08-08T12_22_23_294Z-debug-0.log $ node scripts/seed-organizational-structure.js ERROR: ◇ injected env (0) from .env // tip: ◈ encrypted .env [www.dotenvx.com] PrismaClientKnownRequestError: Invalid `prisma.organization.upsert()` invocation: The table `public.organizations` does not exist in the current database. at Jr.handleRequestError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:8286) at Jr.handleAndLogRequestError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:7581) at Jr.request (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:7288) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async a (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:99:6862) at async main (/home/prileiqb/ksl-backend/scripts/seed-organizational-structure.js:98:24) { code: 'P2021', meta: { modelName: 'Organization', driverAdapterError: DriverAdapterError: TableDoesNotExist at PrismaPgAdapter.onError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:675:11) at PrismaPgAdapter.performIO (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:670:12) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async PrismaPgAdapter.queryRaw (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:604:30) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:44895) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:45339) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:46559) at async e.run (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:43609) at async e.execute (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:57:815) at async Ut.request (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:58:2421) { cause: [Object] } }, clientVersion: '7.9.1' } Command failed: node scripts/seed-organizational-structure.js PrismaClientKnownRequestError: Invalid `prisma.organization.upsert()` invocation: The table `public.organizations` does not exist in the current database. at Jr.handleRequestError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:8286) at Jr.handleAndLogRequestError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:7581) at Jr.request (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:65:7288) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async a (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:99:6862) at async main (/home/prileiqb/ksl-backend/scripts/seed-organizational-structure.js:98:24) { code: 'P2021', meta: { modelName: 'Organization', driverAdapterError: DriverAdapterError: TableDoesNotExist at PrismaPgAdapter.onError (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:675:11) at PrismaPgAdapter.performIO (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:670:12) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async PrismaPgAdapter.queryRaw (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/adapter-pg/dist/index.js:604:30) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:44895) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:45339) at async e.interpretNode (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:46559) at async e.run (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:11:43609) at async e.execute (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:57:815) at async Ut.request (/home/prileiqb/nodevenv/ksl-backend/24/lib/node_modules/@prisma/client/runtime/client.js:58:2421) { cause: [Object] } }, clientVersion: '7.9.1' }