ipfs-desktop icon indicating copy to clipboard operation
ipfs-desktop copied to clipboard

[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /Users/tim/.ipfs/

Open timzhang0523 opened this issue 1 year ago • 1 comments

  • Desktop: 0.37.0
  • OS: darwin 23.5.0 arm64
  • Electron: 31.0.1
  • Chrome: 126.0.6478.36
SyntaxError: Unexpected end of JSON input: Error: open /Users/tim/.ipfs/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Daemon.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:49:17)
    at async setupDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:116:3)
    at async Promise.all (index 1)
    at async run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:68:5)

timzhang0523 avatar Jul 19 '24 03:07 timzhang0523

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We are triaging issues on weekly basis and aim to give initial feedback within a few business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.tech if you just need general support.

welcome[bot] avatar Jul 19 '24 03:07 welcome[bot]

Duplicate of https://github.com/ipfs/ipfs-desktop/issues/2836

Try following workaround from https://github.com/ipfs/ipfs-desktop/issues/2849#issuecomment-2344641734, it it did not help, please reach out to support forums at https://discuss.ipfs.tech/c/help/13

lidel avatar Sep 11 '24 20:09 lidel