PrismaP
Prisma15mo ago
4 replies
nezumi

Querying a SQLite database will just hang forever

Why ?
Solution
Solved: I had to install a matching version of @prisma/client and prisma client.
{
  "name": "",
  "version": "1.0.0",
  "description": "",
  "main": "server.ts",
  "scripts": {
    "compile": "npx tsc",
    "start": "npm run compile && node ./dist/server.js"
  },
  "keywords": [],
  "author": "",
  "license": "0BSD",
  "dependencies": {
    "@prisma/client": "^5.22.0",
    "express": "^4.21.1",
    "node": "^22.11.0"
  },
  "devDependencies": {
    "@types/express": "^5.0.0",
    "@types/node": "^15.14.9",
    "prisma": "^5.22.0",
    "ts-node": "^9.1.1",
    "typescript": "^4.2.4"
  }
}
Was this page helpful?