bug: login issue

Open
#271 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
node.js, typescript

Research direction

Start by reproducing the failure with devvit playtest, npm run dev, and npm run deploy, then compare it with the working npm run launch command. Review the login/session error shown in the attached screenshots and trace the relevant Devvit CLI authentication path; done means the failing commands work after a normal login without authentication or runtime errors.

Written by the indexing model from the issue text.

Description

🐛 Login / Devvit CLI issue

I’m currently experiencing a strange login issue with Devvit.

I have already:

Logged in successfully
Tried logging out and logging back in
Reinstalled node_modules
Cleared cache
Reinstalled dependencies

However, the problem still persists.

❗ Problem

When I run:

devvit playtest, or
npm run dev

I consistently get the same error.

This issue did not occur when I first created the project. It started happening after a few hours of testing.

Interestingly:

npm run launch works normally
But npm run dev and npm run deploy both fail with the same issue
📌 Expected behavior

npm run dev and npm run deploy should work as expected without authentication or runtime errors.

📌 Actual behavior

Both commands fail with an error related to login/session (details below if needed).

Image Image
Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reddit/devvit

All issues in reddit/devvit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.