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

Build Failing on Prisma parameters #209

Closed
9darksider9 opened this issue Apr 17, 2023 · 1 comment
Closed

Build Failing on Prisma parameters #209

9darksider9 opened this issue Apr 17, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@9darksider9
Copy link

Got the below error when trying to deploy locally:

`=> ERROR [7/8] RUN npx prisma generate && npx prisma migrate dev -- 1.4s

[7/8] RUN npx prisma generate && npx prisma migrate dev --name init && npx prisma db push:
#12 1.177 Environment variables loaded from .env
#12 1.179 Prisma schema loaded from prisma/schema.prisma
#12 1.300 warn Preview feature "ReferentialIntegrity" is deprecated. The functionality can be used without specifying it as a preview feature.
#12 1.304 Error: Prisma schema validation - (get-dmmf wasm)
#12 1.304 Error code: P1012
#12 1.304 error: Error validating: You defined the enum Role. But the current connector does not support enums.
#12 1.304 --> schema.prisma:12
#12 1.304 |
#12 1.304 11 |
#12 1.304 12 | enum Role {
#12 1.304 13 | ADMIN
#12 1.304 14 | }
#12 1.304 |
#12 1.304
#12 1.304 Validation Error Count: 1
#12 1.304 [Context: getDmmf]
#12 1.304
#12 1.304 Prisma CLI Version : 4.12.0


executor failed running [/bin/sh -c npx prisma generate && npx prisma migrate dev --name init && npx prisma db push]: exit code: 1
Unable to find image 'agentgpt:latest' locally
docker: Error response from daemon: pull access denied for agentgpt, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
`

Did I miss a step in the setup, or is there a larger issue?

@exil0867
Copy link
Contributor

I believe the issue was fixed in #206.

You should pull the changes into your repository.

@APiTJLillo APiTJLillo added bug Something isn't working duplicate This issue or pull request already exists labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants