ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
5.96k stars 859 forks source link

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

Closed Brent-Sanchez closed 3 months ago

Brent-Sanchez commented 6 months ago

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

Specifications

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)
SgtPooki commented 6 months ago

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

github-actions[bot] commented 3 months ago

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

github-actions[bot] commented 3 months ago

This issue was closed because it is missing author input.

Brent-Sanchez commented 2 months ago

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

I'm sorry for the no-reply man, this is from a work around account profile. I had some roadblocks in my normal windows account that were blocking code execution and not notifying me. I've since got it together, deleted the kubo/webview stuff out of that built in admin account and moved on. I've got everything running smoothly now. Sorry again. :-D