Modern Devvit Web: `settings list` fails with "Failed to get app settings fields"
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
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.
Written by the indexing model from the issue text.
Description
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.jsonsettings.global
There are no legacy Devvit.addSettings() declarations.
The uploaded version reports:
hasDevvitJson: truehasCustomSettings: false
The application builds successfully with 0 errors and all 34 tests pass.
Reproduction
-
Define global settings under
settings.globalindevvit.json. -
Build the application.
-
Upload successfully with:
npx @devvit/cli upload -
Start a playtest:
npx @devvit/cli playtest r/teyahealth_cmo_dev -
Run:
npx @devvit/cli settings list
Actual result
The command fails with:
Error: Failed to get app settings fields.
- Dominant language
- TypeScript
- Stars
- 217
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reddit/devvit
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Bound concurrent filesystem reads during asset discovery and source ZIP generationPossibly taken @CR29-22-2805 claimed this 138 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
amosblomqvist/learnharness#1141 ·
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ranxianglei/billion-context#8319 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tencent-connect/dsh-qqbot#148 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
JimLiu/open-artifact#126 ·
-
bug repro-ready
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
mksglu/context-mode#1454 ·