Skip to content

Commit f2259bb

Browse files
new faq workaround (#142)
<!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> workaround for common windows issue
1 parent 09c5bfe commit f2259bb

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

docs/guides/faq.mdx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,34 @@ For command syntax, see [Devvit CLI](./tools/devvit_cli.mdx). For the review and
129129

130130
</details>
131131

132+
<span id="why-does-devvit-upload-say-assets-uploaded-then-you-must-be-logged-in"></span>
133+
<details>
134+
<summary>Why does <code>npx devvit upload</code> say assets uploaded, then fail with "You must be logged in to upload a new app version"?</summary>
135+
136+
This usually means your local Devvit authentication state is stale or corrupted. The asset upload can finish before the CLI fails while creating the new app version.
137+
138+
Reset your local Devvit auth state, then log in again.
139+
140+
On Windows PowerShell:
141+
142+
```powershell
143+
npx devvit logout
144+
Remove-Item -Recurse -Force "$env:USERPROFILE\.devvit"
145+
npx devvit login
146+
```
147+
148+
On macOS, Linux, or WSL:
149+
150+
```bash
151+
npx devvit logout
152+
rm -rf ~/.devvit
153+
npx devvit login
154+
```
155+
156+
After logging in, run `npx devvit whoami` to confirm the CLI is using the expected Reddit account, then try `npx devvit upload` again.
157+
158+
</details>
159+
132160
<span id="what-should-i-do-after-playtest-when-i-am-ready-to-launch"></span>
133161
<details>
134162
<summary>What should I do after playtest when I am ready to launch?</summary>

versioned_docs/version-0.13/guides/faq.mdx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,34 @@ For command syntax, see [Devvit CLI](./tools/devvit_cli.mdx). For the review and
129129

130130
</details>
131131

132+
<span id="why-does-devvit-upload-say-assets-uploaded-then-you-must-be-logged-in"></span>
133+
<details>
134+
<summary>Why does <code>npx devvit upload</code> say assets uploaded, then fail with "You must be logged in to upload a new app version"?</summary>
135+
136+
This usually means your local Devvit authentication state is stale or corrupted. The asset upload can finish before the CLI fails while creating the new app version.
137+
138+
Reset your local Devvit auth state, then log in again.
139+
140+
On Windows PowerShell:
141+
142+
```powershell
143+
npx devvit logout
144+
Remove-Item -Recurse -Force "$env:USERPROFILE\.devvit"
145+
npx devvit login
146+
```
147+
148+
On macOS, Linux, or WSL:
149+
150+
```bash
151+
npx devvit logout
152+
rm -rf ~/.devvit
153+
npx devvit login
154+
```
155+
156+
After logging in, run `npx devvit whoami` to confirm the CLI is using the expected Reddit account, then try `npx devvit upload` again.
157+
158+
</details>
159+
132160
<span id="what-should-i-do-after-playtest-when-i-am-ready-to-launch"></span>
133161
<details>
134162
<summary>What should I do after playtest when I am ready to launch?</summary>

0 commit comments

Comments
 (0)