-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use of extensions? #1
Comments
Same here, installing extensions does not work. |
Same here. I did manage to install the extension manually : |
The packaged binaries e.g. |
In my case I had to manually install it. I am new to Flatpak so I leave this to others to fix.
|
Hi, I am experiencing the same issue as @hugoideler with several extensions – in my case using latest OpenLens 6.5.2 with Node.js 16.17.1. It seems that the extensions' npm dependencies are unresolved, as the respective directory is empty: ~/.var/app/dev.k8slens.OpenLens/config/OpenLens/node_modules Maybe we'd need to run Just in case, here is an example stacktrace for an extension that is not working: [EXTENSIONS-LOADER]: can't load renderer for "lens-extension-network-policy-viewer": Error: Cannot find module '/home/redtux/.var/app/dev.k8slens.OpenLens/config/OpenLens/node_modules/lens-extension-network-policy-viewer/dist/renderer.js'
Require stack:
- electron/js2c/renderer_init
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
at o._resolveFilename (node:electron/js2c/renderer_init:2:3833)
at Module._load (node:internal/modules/cjs/loader:811:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at o._load (node:electron/js2c/renderer_init:2:3109)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at ExtensionLoader.requireExtension (https://lens.app:42463/build/lens.js?03a1ad70a676f0817f33:575642:20)
at https://lens.app:42463/build/lens.js?03a1ad70a676f0817f33:575594:53
at Array.map (<anonymous>) I verified that the extension was correctly downloaded btw: $ tree ~/.var/app/dev.k8slens.OpenLens/.k8slens/extensions/lens-extension-network-policy-viewer/
/home/redtux/.var/app/dev.k8slens.OpenLens/.k8slens/extensions/lens-extension-network-policy-viewer/
├── docs
│ └── screenshot.png
├── LICENSE
├── main.ts
├── package.json
├── package-lock.json
├── README.md
├── renderer.tsx
├── src
│ └── network-policy-component.tsx
├── tsconfig.json
└── webpack.config.js
3 directories, 10 files |
Hi, thanks for creating the flatpak!
Has the flatpak also been tested with extensions? In particular,
@alebcay/openlens-node-pod-menu
?I am finding that the installation of the extension is not successful. On the other hand, I've also tried an OpenLens AppImage, and there it works.
The error I get is:
I've also tried giving the flatpak permissions to my home folder, but that made no difference.
The text was updated successfully, but these errors were encountered: