Skip to content

Authentication error: invalid token file format: EOF while parsing a string at line 1 #10207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
charsea opened this issue Mar 21, 2025 · 5 comments
Closed
1 task done
Labels
kind: bug Something isn't working needs: author input

Comments

@charsea
Copy link

charsea commented Mar 21, 2025

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/charsea/turborepo-start

Which canary version will you have in your reproduction?

2.4.4

Environment information


Expected behavior

Image

Image

Actual behavior

turbo command all error , like turbo run build , turbo info , always error , return like this
turbo 2.4.4

× Authentication error: invalid token file format: EOF while parsing a string at line 1
│ column 16
├─▶ invalid token file format: EOF while parsing a string at line 1 column 16
╰─▶ EOF while parsing a string at line 1 column 16

To Reproduce

https://github.com/charsea/turborepo-start

This has nothing to do with the repository. all repository go error

Additional context

No response

@charsea charsea added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Mar 21, 2025
@chris-olszewski
Copy link
Member

Can you clear out any possibly bad tokens you might have on your machine:

  • turbo logout
  • vercel logout

Can you provide your turbo info output?

@chris-olszewski chris-olszewski added needs: author input and removed needs: triage New issues get this label. Remove it after triage labels Mar 21, 2025
@charsea
Copy link
Author

charsea commented Mar 21, 2025

turbo logout and vercel logout , but it didn't work. turbo info also error , look the picture

Image

@charsea
Copy link
Author

charsea commented Mar 21, 2025

Can you clear out any possibly bad tokens you might have on your machine:

  • turbo logout
  • vercel logout

Can you provide your turbo info output?

do you know where is the auth token file , can i delete it ?

@chris-olszewski
Copy link
Member

It depends on OS

  • macOS: ~/Library/Application\ Support/turborepo/config.json
  • Linux: $XDG_CONFIG_HOME/turborepo/config.json or $HOME/.config/turborepo/config.json

@charsea
Copy link
Author

charsea commented Mar 21, 2025

It depends on OS

  • macOS: ~/Library/Application\ Support/turborepo/config.json
  • Linux: $XDG_CONFIG_HOME/turborepo/config.json or $HOME/.config/turborepo/config.json

thank you , i resolve it by delete config

@linear linear bot reopened this Mar 31, 2025
chris-olszewski added a commit that referenced this issue Apr 1, 2025
### Description

In #10207 it would have been useful to have the path to the bad token

### Testing Instructions

Added snapshot test for error message.
@linear linear bot closed this as completed Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: author input
Projects
None yet
Development

No branches or pull requests

2 participants