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

[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /path/to/ipfsrepo

Open rtxs34 opened this issue 1 year ago • 3 comments

  • Desktop: 0.37.0
  • OS: linux 6.1.0-22-amd64 x64
  • Electron: 31.0.1
  • Chrome: 126.0.6478.36
SyntaxError: Unexpected end of JSON input: Error: open /path/to/ipfsrepo/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/opt/IPFS Desktop/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 (/opt/IPFS Desktop/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:49:17)
    at async setupDaemon (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:116:3)
    at async Promise.all (index 1)
    at async run (/opt/IPFS Desktop/resources/app.asar/src/index.js:68:5)

rtxs34 avatar Jul 14 '24 18:07 rtxs34

Closed my issue, as the only difference is the OS. Following this one.

jc-frosty avatar Jul 16 '24 19:07 jc-frosty

This error occurs in 0.36.0 as well. See above issue (2839).

jc-frosty avatar Jul 16 '24 19:07 jc-frosty

@rtxs34 did you install ipfs desktop via macports? I ask because some of your files are in /opt which is where macports installs(and mine are not installed there).

jc-frosty avatar Jul 16 '24 19:07 jc-frosty

@rtxs34 @jc-frosty any idea how reproduce this problem?

lidel avatar Sep 11 '24 20:09 lidel

Not sure. I have just opened IPFS on what computer I probably had the error on and there is no error. I don't know if it took a specific action. I am running macOS Sonoma 14.6.1, and I don't know what Darwin version that translates to(that is how I would identify which computer I filed the report from/for).

jc-frosty avatar Sep 12 '24 05:09 jc-frosty

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] avatar Sep 19 '24 00:09 github-actions[bot]

This issue was closed because it is missing author input.

github-actions[bot] avatar Sep 26 '24 00:09 github-actions[bot]