Talk:Prisma: Difference between revisions
→Necessity of env variables: Reply |
→Necessity of env variables: Reply |
||
| (One intermediate revision by one other user not shown) | |||
| Line 4: | Line 4: | ||
:I can't get it to work with or without. With, when doing `npm ci` it complains that the files the env vars point to don't exist. Without, when doing `npm ci` it complains that it couldn't get a checksum for the libquery engine. [[User:Bjn|Bjn]] ([[User talk:Bjn|talk]]) 20:56, 26 January 2026 (UTC) | :I can't get it to work with or without. With, when doing `npm ci` it complains that the files the env vars point to don't exist. Without, when doing `npm ci` it complains that it couldn't get a checksum for the libquery engine. [[User:Bjn|Bjn]] ([[User talk:Bjn|talk]]) 20:56, 26 January 2026 (UTC) | ||
::I don't install it through npm, I have the `prisma` package in my nix shell and I just run it directly, that usually works. From what I can tell you're installing it through npm and then setting those env vars. Have I misunderstood? [[User:Mmkaram|mmkaram]] ([[User talk:Mmkaram|talk]]) 17:47, 28 January 2026 (UTC) | |||
:::At this point I don't remember exactly what I was doing when I wrote my last message. I since made progress and have it running, but without prisma in npm dependencies, how do you deal with deployment? I had a "vercel-build": "prisma migrate deploy && npm run build" entry in my package.json, but surely that isn't going to work if prisma wasn't in the package.json dependencies. [[User:Bjn|Bjn]] ([[User talk:Bjn|talk]]) 02:35, 30 January 2026 (UTC) | |||