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: Unexpected end of JSON input: Error: open /home/chito/snap/ #2057

Closed
chitoadinugraha opened this issue Mar 22, 2022 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws) need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization

Comments

@chitoadinugraha
Copy link

Everytime I open IPFS desktop, it closed instantly

Specifications

  • OS: linux
  • IPFS Desktop Version: 0.20.3
  • Electron Version: 17.1.0
  • Chrome Version: 98.0.4758.102

Error

SyntaxError: Unexpected end of JSON input: Error: open /home/chito/snap/ipfs-desktop/33/.ipfs/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/snap/ipfs-desktop/35/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (/snap/ipfs-desktop/35/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async spawn (/snap/ipfs-desktop/35/resources/app.asar/src/daemon/daemon.js:54:3)
    at async module.exports (/snap/ipfs-desktop/35/resources/app.asar/src/daemon/daemon.js:169:31)
    at async startIpfs (/snap/ipfs-desktop/35/resources/app.asar/src/daemon/index.js:46:17)
    at async module.exports (/snap/ipfs-desktop/35/resources/app.asar/src/daemon/index.js:114:3)
    at async run (/snap/ipfs-desktop/35/resources/app.asar/src/index.js:83:5)
@chitoadinugraha chitoadinugraha added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Mar 22, 2022
@lidel
Copy link
Member

lidel commented Mar 22, 2022

Snap is causing issues, see #2031

It could be unrelated to snap. Is your /home/chito/snap/ipfs-desktop/33/.ipfs a real directory? If it does not exist or is a file, rename it to something else and try again (or wait until #2050 is addressed)

@lidel lidel added the need/author-input Needs input from the original author label Mar 22, 2022
@ipfs ipfs deleted a comment from welcome bot Mar 22, 2022
@lidel
Copy link
Member

lidel commented Mar 23, 2022

Continued in #2050

@lidel lidel closed this as completed Mar 23, 2022
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/author-input Needs input from the original author need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants