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

本地部署pnpm dev这一步报错 #4252

Open
5 of 7 tasks
brucct opened this issue Mar 20, 2025 · 3 comments
Open
5 of 7 tasks

本地部署pnpm dev这一步报错 #4252

brucct opened this issue Mar 20, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@brucct
Copy link

brucct commented Mar 20, 2025

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号:

问题描述, 日志截图,配置文件等
pnpm dev执行报错
init root user error MongoServerError: Transaction numbers are only allowed on a replica set member or mongos
复现步骤

预期结果

相关截图

Image

@brucct brucct added the bug Something isn't working label Mar 20, 2025
@brucct
Copy link
Author

brucct commented Mar 20, 2025

请协助解决,谢谢

@brucct brucct changed the title pnpm dev报错 本地部署pnpm dev这一步报错 Mar 20, 2025
@FinleyGe
Copy link
Collaborator

mongo 要开 replicaSet,建议使用 docker-compose 进行部署

@FinleyGe FinleyGe self-assigned this Mar 21, 2025
@brucct
Copy link
Author

brucct commented Mar 21, 2025

好的,谢谢

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

2 participants