ts-node resolved node_modules relative to the script path, so running from prisma/seed.ts (outside backend/) never found bcryptjs or @prisma/client in backend/node_modules — the seed silently failed on every container start. Moving the script under backend/prisma/ fixes resolution; also adds a missing .gitignore for node_modules. |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||