-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFAQ.txt
More file actions
24 lines (20 loc) · 662 Bytes
/
FAQ.txt
File metadata and controls
24 lines (20 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https://github.com/orgs/community/discussions/168135
**Short Solution:**
1. **Update `prisma/schema.prisma`** - add `binaryTargets`:
```prisma
generator client {
provider = "prisma-client-js"
output = "../src/generated/prisma"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}
```
2. **Run in WSL (Ubuntu)**:
```bash
wsl
cd /mnt/e/mark/vibe-clone
sudo rm -rf node_modules .next
npm install
npm run build
npx prisma generate
```
**Why it works:** Prisma on Windows tries to scan system directories it doesn't have permission for. WSL runs Linux and bypasses Windows permission issues entirely.