menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team
Posts
Members
Info

@prisma/cli 2.0.0-beta.2 introspect command failing to connect to mysql8

Running "npx prisma introspect" on existing mysql8 db yields error: Error querying the database: No such host is known. (os error 11001) DB server is running and credentials are correct, I can query it from mysql CLC no problem. …

thumbsup
0
message-simple
2

What is the best way to add custom error handling/codes from prisma server?

I would like to add a response code if a certain condition is hit on my server but don't know the simplest way to access the response. I was thinking of adding a middleware to set the code based on request context but didn't see any docs about how to do this. Anyone tried this?

thumbsup
0
message-simple
0

ERROR: No cluster could be found for workspace '*' and cluster 'default'

I keep getting an error when I try to do prisma deploy I tried restarting my computer, restarting docker, using a whole new database, using a new directory, and everything else. Nothing seems to be working. ERROR: No cluster could be found for workspace '*' and cluster 'default'…

thumbsup
0
message-simple
5

Prisma Init "Cannot read property 'type"

Hello everyone! I've used prisma init on an existing MySQL database with existing data - selected these in the wizard - and during introspection, I'I get the message: "Cannot read property 'type' of undefined". Prisma version: 1.32.2 …

thumbsup
0
message-simple
5

Cannot read property 'startsWith' of undefined

thumbsup
0
message-simple
0

Why am I getting this error on "prisma delete"

Deleting service [email protected] from default ! ERROR: GraphQL Error (Code: 400) "error": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>Bad Request – 400</title>\n <style>\n html, body {\n margin: 0;\n width: 100%;\n height: 100%;\n display: flex;\n…

thumbsup
1
message-simple
2

Why `serverless-plugin-typescript` and `serverless-offline` don't want to…

Hi there, I found a link to the community on https://github.com/prisma-labs/serverless-plugin-typescript I've just made a very simple example of a typescript serverless function. It's working well but… every time I change source code I need to restart the offline version to see…

thumbsup
0
message-simple
0

Prisma generate

Cannot read property 'startsWith' of undefined

thumbsup
0
message-simple
0

Does anyone have a tutorial for deploying a prisma server to AWS?

I tried following the tutorial on the prisma site for deploying to AWS Fargate but I got an error when I used the Margate template for prisma. Does anyone happen to know a simple tutorial for deploying a prisma server to AWS?

thumbsup
0
message-simple
0