question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[gui error report] SyntaxError: Unexpected end of JSON input

See original GitHub issue

Please describe what you were doing when this error happened.

Specifications

  • OS: darwin
  • IPFS Desktop Version: 0.20.0
  • Electron Version: 17.1.0
  • Chrome Version: 98.0.4758.102

Error

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:365:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:157:9)
    at async spawn (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:55:3)
    at async module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:143:31)
    at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:46:17)
    at async module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:114:3)
    at async run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:83:5)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
avelguenincommented, Mar 15, 2022

I did not remember Snap was community maintained. I’ll reinstall through standard procedure. Thanks for your answer.

0reactions
lidelcommented, Mar 23, 2022

I’m closing this as a duplicate of https://github.com/ipfs/ipfs-desktop/issues/2050

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught SyntaxError: Unexpected end of JSON ... - STechies
A common error encountered by JavaScript programmers is the Uncaught SyntaxError: Unexpected end of JSON input. This is usually observed when the coder...
Read more >
Error : SyntaxError: Unexpected end of JSON input
Your code is trying to parse an incomplete JSON string, just the first chunk. The most common approach is to declare an array...
Read more >
Uncaught SyntaxError: Unexpected end of JSON input
The bug was in page editor and not Post editor screen. 1) Have you tried clearing browser cache? if not, clear the cache....
Read more >
[Wordpress] Unexpected end of JSON input - n8n community
Describe the issue/error/question I use N8N and the DeepL node to ingest a RSS feed with near live Telegram Posts it's my 5...
Read more >
Unexpected end of JSON input" for Bulk Data Extract
Ajax throws "parsererror" & "SyntaxError: Unexpected end of JSON input" for Bulk Data Extract ... Dear All,. Good Day.! Am facing an Issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found