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 C:\Users\liqik\.i #2716

Closed
liqikun0000 opened this issue Dec 9, 2023 · 4 comments
Labels
kind/bug A bug in existing code (including security flaws) kind/stale need/author-input Needs input from the original author

Comments

@liqikun0000
Copy link

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

Specifications

  • OS: win32 10.0.22631
  • IPFS Desktop Version: 0.32.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

Error

SyntaxError: Unexpected end of JSON input: Error: open C:\Users\liqik\.ipfs\config: The system cannot find the path specified.
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (E:\idddds\IPFS Desktop\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 (E:\idddds\IPFS Desktop\resources\app.asar\node_modules\ipfsd-ctl\src\ipfsd-daemon.js:158:9)
    at async getIpfsd (E:\idddds\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:63:7)
    at async startDaemon (E:\idddds\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:210:17)
    at async startIpfs (E:\idddds\IPFS Desktop\resources\app.asar\src\daemon\index.js:49:17)
    at async setupDaemon (E:\idddds\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async Promise.all (index 1)
    at async run (E:\idddds\IPFS Desktop\resources\app.asar\src\index.js:68:5)
@liqikun0000 liqikun0000 added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Dec 9, 2023
Copy link

welcome bot commented Dec 9, 2023

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:

  • "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.io if you just need general support.

@whizzzkid
Copy link
Contributor

Thanks for submitting this issue @liqikun0000 looks like your config file has gone missing, can you please validate that C:\Users\liqik\.ipfs\config is indeed not present? Also, the configs can usually be found here.

If the config is indeed missing, you might have to create a new one, that can be done by reinstalling (but might remove your existing data) or you can create one yourself using the guide here: https://github.com/ipfs/kubo/blob/master/docs/config.md

@whizzzkid whizzzkid added need/author-input Needs input from the original author and removed need/triage Needs initial labeling and prioritization labels Dec 14, 2023
Copy link
Contributor

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

Copy link
Contributor

This issue was closed because it is missing author input.

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) kind/stale need/author-input Needs input from the original author
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants