werscho
werscho
RRailway
Created by werscho on 5/1/2024 in #✋|help
Prisma migrate dev error
the issue is like that; when i start project normally. it works and it connect database . there is no problem. but when i try with custom start command so its like that ; "npx prisma migrate deploy && npm start", it give bug which say it cant connect data base. how can i solve this problem. i have to migrate my prisma changes.. please help me erorr is like that; Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "railway", schema "public" at "viaduct.proxy.rlwy.net:38891" Error: P1001: Can't reach database server at viaduct.proxy.rlwy.net:38891 Please make sure your database server is running at viaduct.proxy.rlwy.net:38891. npm WARN config production Use --omit=dev instead. Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma
68 replies