Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Modern Devvit Web: `settings list` fails with "Failed to get app settings fields"

Đang mở
#288 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start by reproducing the failure with npx @devvit/cli settings list for an app whose devvit.json defines settings.global. Then trace the CLI command's handling of app settings fields; the issue does not name a source file or test. Done means the command succeeds and lists the global settings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug: devvit settings list fails for modern Devvit Web settings.global

Environment
  • App: teyahealth-cmo
  • @devvit/cli: 0.14.7
  • @devvit/server: 0.14.3
  • @devvit/public-api: 0.14.3
  • Uploaded app version: 0.0.17
Architecture

This is a modern Devvit Web application using:

  • devvit.json
  • settings.global

There are no legacy Devvit.addSettings() declarations.

The uploaded version reports:

  • hasDevvitJson: true
  • hasCustomSettings: false

The application builds successfully with 0 errors and all 34 tests pass.

Reproduction
  1. Define global settings under settings.global in devvit.json.

  2. Build the application.

  3. Upload successfully with:

    npx @devvit/cli upload

  4. Start a playtest:

    npx @devvit/cli playtest r/teyahealth_cmo_dev

  5. Run:

    npx @devvit/cli settings list

Actual result

The command fails with:

Error: Failed to get app settings fields.
Ngôn ngữ chính
TypeScript
Star
212
Fork
89
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của reddit/devvit

Tất cả issue của reddit/devvit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.