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 remove an extension in failed state #6990

Closed
axel7083 opened this issue Apr 29, 2024 · 1 comment · Fixed by #6997
Closed

cannot remove an extension in failed state #6990

axel7083 opened this issue Apr 29, 2024 · 1 comment · Fixed by #6997
Assignees
Labels

Comments

@axel7083
Copy link
Contributor

axel7083 commented Apr 29, 2024

Bug description

image

Operating system

Windows 11

Installation Method

Installer from website/GitHub releases

Version

next (development version)

Steps to reproduce

Install extension pack, and weirdly have an extension in a failed state prevents me to delete it

Relevant log output

No response

Additional context

No response

@odockal
Copy link
Contributor

odockal commented Apr 29, 2024

This enhancement/bug fix could be really beneficial as there could be a situation when I am not able to remove extension whatsoever. I have dev sandbox with error, that even podman desktop restart did not solve.

Error: Cannot find module 'tslib' Require stack: - C:\Users\podmanqe\.local\share\containers\podman-desktop\plugins\ghcrioredhatdeveloperpodmandesktopsandboxext\node_modules\@kubernetes\client-node\dist\index.js - C:\Users\podmanqe\.local\share\containers\podman-desktop\plugins\ghcrioredhatdeveloperpodmandesktopsandboxext\dist\extension.js - C:\Users\podmanqe\AppData\Local\Programs\podman-desktop\resources\app.asar\packages\main\dist\index.cjs -
Stack trace:
Error: Cannot find module 'tslib'
Require stack:
- C:\Users\podmanqe\.local\share\containers\podman-desktop\plugins\ghcrioredhatdeveloperpodmandesktopsandboxext\node_modules\@kubernetes\client-node\dist\index.js
- C:\Users\podmanqe\.local\share\containers\podman-desktop\plugins\ghcrioredhatdeveloperpodmandesktopsandboxext\dist\extension.js
- C:\Users\podmanqe\AppData\Local\Programs\podman-desktop\resources\app.asar\packages\main\dist\index.cjs
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:1151:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:120281)
    at Module._load (node:internal/modules/cjs/loader:992:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at _module._load (C:\Users\podmanqe\AppData\Local\Programs\podman-desktop\resources\app.asar\packages\main\dist\index.cjs:146:33441)
    at Module.require (node:internal/modules/cjs/loader:1242:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (C:\Users\podmanqe\.local\share\containers\podman-desktop\plugins\ghcrioredhatdeveloperpodmandesktopsandboxext\node_modules\@kubernetes\client-node\dist\index.js:3:17)
    at Module._compile (node:internal/modules/cjs/loader:1391:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1451:10)

I had to quit podman-desktop, and remove manually ~/.local/share/containers/podman-desktop/plugins/extensionlongname folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants