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

Cannot destructure property 'verify_recovery' #2536

Closed
NeoTheThird opened this issue Mar 25, 2022 · 0 comments · Fixed by #2537
Closed

Cannot destructure property 'verify_recovery' #2536

NeoTheThird opened this issue Mar 25, 2022 · 0 comments · Fixed by #2537
Assignees
Labels
bug a bug in the software itself

Comments

@NeoTheThird
Copy link
Member

Blunder in #2529. Everything works if no prop is passed, but if null is passed, we get Cannot destructure property 'verify_recovery'.

verbose: running step {"actions":[{"systemimage:install":null}]}
verbose: running systemimage action install
debug: attempting to handle TypeError: Cannot destructure property 'verify_recovery' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
error: Error: unknown: TypeError: Cannot destructure property 'verify_recovery' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
stack trace: TypeError: Cannot destructure property 'verify_recovery' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
    at SystemimagePlugin.action__install (C:\Users\18069\AppData\Local\Temp\26qs0lYtKoUeERuLrWTpZqpTg3m\resources\app.asar\src\core\plugins\systemimage\plugin.js:33:21)
    at C:\Users\18069\AppData\Local\Temp\26qs0lYtKoUeERuLrWTpZqpTg3m\resources\app.asar\src\core\plugins\index.js:78:45
@NeoTheThird NeoTheThird added the bug a bug in the software itself label Mar 25, 2022
@NeoTheThird NeoTheThird self-assigned this Mar 25, 2022
@NeoTheThird NeoTheThird linked a pull request Mar 25, 2022 that will close this issue
llewelld pushed a commit to llewelld/ubports-installer that referenced this issue Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the software itself
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant