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.85k stars 849 forks source link

[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /home/puppycerber #2819

Closed PuppyCerberus closed 2 weeks ago

PuppyCerberus commented 1 month ago

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

Specifications

Error

SyntaxError: Unexpected end of JSON input: Error: open /home/puppycerberus/snap/ipfs-desktop/47/.ipfs/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/snap/ipfs-desktop/49/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (/snap/ipfs-desktop/49/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/snap/ipfs-desktop/49/resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/snap/ipfs-desktop/49/resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/snap/ipfs-desktop/49/resources/app.asar/src/daemon/index.js:49:17)
    at async setupDaemon (/snap/ipfs-desktop/49/resources/app.asar/src/daemon/index.js:116:3)
    at async Promise.all (index 1)
    at async run (/snap/ipfs-desktop/49/resources/app.asar/src/index.js:68:5)
welcome[bot] commented 1 month ago

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 currently aim to give initial feedback within two 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:

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

lidel commented 2 weeks ago

Duplicate, see workaround in https://github.com/ipfs/ipfs-desktop/issues/2259#issuecomment-1239275950