Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prisma studio #1266

Open
Lth7880 opened this issue Aug 8, 2024 · 0 comments
Open

prisma studio #1266

Lth7880 opened this issue Aug 8, 2024 · 0 comments
Labels
kind/bug A reported bug.

Comments

@Lth7880
Copy link

Lth7880 commented Aug 8, 2024

Bug description

Error starting Prisma Client: {
"message": "\nYou don't have any \u001b[1mmodels\u001b[22m defined in your \u001b[1mschema.prisma\u001b[22m, so nothing will be generated.\nYou can define a model like this:\n\n\u001b[1m\u001b[36mmodel User\u001b[39m \u001b[34m{\u001b[39m\n id\u001b[1m\u001b[34m Int\u001b[39m\u001b[22m\u001b[1m \u001b[36m@id @default(autoincrement())\u001b[39m\n email\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m \u001b[36m@unique\u001b[39m\n name\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m?\n\u001b[34m}\u001b[39m\u001b[22m\n\nMore information in our documentation:\n\u001b[4mhttps://pris.ly/d/prisma-schema\u001b[24m\n",
"stack": "\nYou don't have any \u001b[1mmodels\u001b[22m defined in your \u001b[1mschema.prisma\u001b[22m, so nothing will be generated.\nYou can define a model like this:\n\n\u001b[1m\u001b[36mmodel User\u001b[39m \u001b[34m{\u001b[39m\n id\u001b[1m\u001b[34m Int\u001b[39m\u001b[22m\u001b[1m \u001b[36m@id @default(autoincrement())\u001b[39m\n email\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m \u001b[36m@unique\u001b[39m\n name\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m?\n\u001b[34m}\u001b[39m\u001b[22m\n\nMore information in our documentation:\n\u001b[4mhttps://pris.ly/d/prisma-schema\u001b[24m\n"
}
Error: Error starting Prisma Client: {
"message": "\nYou don't have any \u001b[1mmodels\u001b[22m defined in your \u001b[1mschema.prisma\u001b[22m, so nothing will be generated.\nYou can define a model like this:\n\n\u001b[1m\u001b[36mmodel User\u001b[39m \u001b[34m{\u001b[39m\n id\u001b[1m\u001b[34m Int\u001b[39m\u001b[22m\u001b[1m \u001b[36m@id @default(autoincrement())\u001b[39m\n email\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m \u001b[36m@unique\u001b[39m\n name\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m?\n\u001b[34m}\u001b[39m\u001b[22m\n\nMore information in our documentation:\n\u001b[4mhttps://pris.ly/d/prisma-schema\u001b[24m\n",
"stack": "\nYou don't have any \u001b[1mmodels\u001b[22m defined in your \u001b[1mschema.prisma\u001b[22m, so nothing will be generated.\nYou can define a model like this:\n\n\u001b[1m\u001b[36mmodel User\u001b[39m \u001b[34m{\u001b[39m\n id\u001b[1m\u001b[34m Int\u001b[39m\u001b[22m\u001b[1m \u001b[36m@id @default(autoincrement())\u001b[39m\n email\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m \u001b[36m@unique\u001b[39m\n name\u001b[1m\u001b[34m String\u001b[39m\u001b[22m\u001b[1m?\n\u001b[34m}\u001b[39m\u001b[22m\n\nMore information in our documentation:\n\u001b[4mhttps://pris.ly/d/prisma-schema\u001b[24m\n"
}
at qs.init (http://localhost:5555/assets/index.js:1:82961)

How to reproduce

Expected behavior

No response

Prisma information

Environment & setup

  • OS:
  • Browser:
  • Database:

Prisma logs

No response

@Lth7880 Lth7880 added the kind/bug A reported bug. label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

1 participant