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] TypeError: Cannot destructure property 'GracePeriod' of 'config.Swarm.Co #2285

Closed
joaomotap opened this issue Oct 1, 2022 · 4 comments
Assignees
Labels
exp/beginner Can be confidently tackled by newcomers kind/bug A bug in existing code (including security flaws) need/author-input Needs input from the original author P0 Critical: Tackled by core team ASAP status/ready Ready to be worked

Comments

@joaomotap
Copy link

First time starting the app after version update

Specifications

  • OS: darwin
  • IPFS Desktop Version: 0.23.0
  • Electron Version: 19.0.9
  • Chrome Version: 102.0.5005.167

Error

TypeError: Cannot destructure property 'GracePeriod' of 'config.Swarm.ConnMgr' as it is undefined.
    at migrateConfig (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/config.js:209:13)
    at getIpfsd (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:56:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:48:17)
    at async setupDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:116:3)
    at async run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:85:5)
@joaomotap joaomotap added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Oct 1, 2022
@welcome
Copy link

welcome bot commented Oct 1, 2022

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.

@SgtPooki
Copy link
Member

SgtPooki commented Oct 3, 2022

This should be fixed by #2255. I will be releasing IPFS desktop today to make sure the newest update has this fix.

@SgtPooki SgtPooki moved this from To do to Planned in IPFS-GUI (PL EngRes) Oct 3, 2022
@SgtPooki SgtPooki added P0 Critical: Tackled by core team ASAP exp/beginner Can be confidently tackled by newcomers status/ready Ready to be worked and removed need/triage Needs initial labeling and prioritization labels Oct 3, 2022
@SgtPooki SgtPooki self-assigned this Oct 3, 2022
@SgtPooki SgtPooki pinned this issue Oct 3, 2022
@SgtPooki SgtPooki moved this from Planned to In progress in IPFS-GUI (PL EngRes) Oct 3, 2022
@SgtPooki
Copy link
Member

SgtPooki commented Oct 3, 2022

@joaomotap Can you update to 0.24.0 and confirm that the issue is resolved?

@SgtPooki SgtPooki added the need/author-input Needs input from the original author label Oct 3, 2022
@joaomotap
Copy link
Author

Yes, the update fixed it, thanks!

Repository owner moved this from In progress to Done in IPFS-GUI (PL EngRes) Oct 4, 2022
@SgtPooki SgtPooki unpinned this issue Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/beginner Can be confidently tackled by newcomers kind/bug A bug in existing code (including security flaws) need/author-input Needs input from the original author P0 Critical: Tackled by core team ASAP status/ready Ready to be worked
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants