tursodatabase/turso-cli

Configuration file gets corrupted

Open

#911 opened on Sep 4, 2024

 (0 comments) (0 reactions) (0 assignees)Go (50 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (302 stars)
PR merge metrics
 (Avg merge 4h 32m) (2 merged PRs in 30d)

Description

I was running turso db create in a loop and after a while, I keep hitting this:

Error: user not logged in, please login with turso auth login
Warning: could not parse JSON config from file /Users/penberg/Library/Application Support/turso/settings.json
Fix the syntax errors on the file, or use the --reset-config flag to replace it with a fresh one.
E.g. turso auth login --reset-config

Contributor guide