Skip to content
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

[gui error report] SyntaxError: C:\Users\Administrator\.ipfs\config: Unexpected token T in #2773

Open
Brent-Sanchez opened this issue Mar 26, 2024 · 1 comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@Brent-Sanchez
Copy link

👉️ Please describe what you were doing when this error happened.

Specifications

  • OS: win32 10.0.19045
  • IPFS Desktop Version: 0.33.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

Error

SyntaxError: C:\Users\Administrator\.ipfs\config: Unexpected token T in JSON at position 2088
    at JSON.parse (<anonymous>)
    at Object.readFileSync (C:\Program Files\IPFS Desktop\resources\app.asar\node_modules\jsonfile\index.js:52:17)
    at readConfigFile (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\config.js:68:13)
    at checkPorts (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\config.js:332:18)
    at getIpfsd (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:71:16)
    at async startDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:210:17)
    at async startIpfs (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:49:17)
    at async setupDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async Promise.all (index 1)
    at async run (C:\Program Files\IPFS Desktop\resources\app.asar\src\index.js:68:5)
@Brent-Sanchez Brent-Sanchez added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Mar 26, 2024
@SgtPooki
Copy link
Member

I believe there is invalid json in your config file. Can you share your config file contents from C:\Users\Administrator\.ipfs\config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants