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 problem when when running production docker compose #329

Open
6 of 10 tasks
mjzhaochenyi opened this issue Oct 15, 2023 · 0 comments
Open
6 of 10 tasks

Prisma problem when when running production docker compose #329

mjzhaochenyi opened this issue Oct 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mjzhaochenyi
Copy link

mjzhaochenyi commented Oct 15, 2023

Please check that this issue hasn't been reported before

请检查之前没有报告过此问题

  • I searched previous Bug Reports didn't find any similar reports.我搜索了以前的 Bug Reports 没有找到任何类似的报告。

Expected Behavior/预期行为

Expect prisma/client works

Current behaviour/当前行为

docker compose -f docker-compose.prod.yml up                         
WARN[0000] The "NEXT_PUBLIC_FF_AUTH_ENABLED" variable is not set. Defaulting to a blank string. 
WARN[0000] The "GITHUB_CLIENT_SECRET" variable is not set. Defaulting to a blank string. 
WARN[0000] The "GOOGLE_CLIENT_SECRET" variable is not set. Defaulting to a blank string. 
WARN[0000] The "GOOGLE_CLIENT_ID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "GITHUB_CLIENT_ID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "DISCORD_CLIENT_ID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "DISCORD_CLIENT_SECRET" variable is not set. Defaulting to a blank string. 
[+] Running 1/0
 ✔ Container pwc-autogpt  Created                                                                                                                                                                                                                                                                                                                                                                                    0.0s 
Attaching to pwc-autogpt
autogpt  | Environment variables loaded from .env
autogpt  | Prisma schema loaded from prisma/schema.prisma
autogpt  | Error: Generator "/app/node_modules/@prisma/client/generator-build/index.js" failed:
autogpt  | 
autogpt  | node:internal/modules/cjs/loader:1093
autogpt  |   throw err;
autogpt  |   ^
autogpt  | Error: Cannot find module '/app/node_modules/@prisma/client/generator-build/index.js'
autogpt  |     at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
autogpt  |     at Module._load (node:internal/modules/cjs/loader:934:27)
autogpt  |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
autogpt  |     at node:internal/main/run_main_module:23:47 {
autogpt  |   code: 'MODULE_NOT_FOUND',
autogpt  |   requireStack: []
autogpt  | }
autogpt  | Node.js v19.9.0
autogpt  | 
autogpt  | 
autogpt  |   ▲ Next.js 13.5.3
autogpt  |   - Local:        http:https://xxx:3000
autogpt  |   - Network:      http:https://xxx:3000
autogpt  | 
autogpt  |  ✓ Ready in 615ms
autogpt  | 

Steps to reproduce/重现步骤

docker compose -f docker-compose.prod.yml up --build --remove-orphans

Possible solution/可能的解决方案

No response

Which Operating Systems are you using?您使用的是哪种操作系统?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements致谢

  • My issue title is concise, descriptive, and in title casing.我的问题标题简明扼要,具有描述性,并且使用标题框
  • I have searched the existing issues to make sure this bug has not been reported yet.我已经搜索了现有问题以确保尚未报告此错误。
  • I am using the latest version of AutoGPT-Next-Web.我使用的是最新版本的 AutoGPT-Next-Web
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.我已经为维护者提供了足够的信息来重现和诊断问题。
@mjzhaochenyi mjzhaochenyi added the bug Something isn't working label Oct 15, 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
Projects
None yet
Development

No branches or pull requests

1 participant