-
Notifications
You must be signed in to change notification settings - Fork 46
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
Menu items not available after enabling #40
Comments
I believe its probably down to the restricted internet access again. Fro developer view I can see the error below, looks like it needs to get out to download some stuff and I dont think it can. I have configured OL to use our proxy but the settings dont cater for requiring authentication so I suspect its failing
|
Happened here, the same exception. But after a hard refresh (cmd+R) started working again 🤷. |
The same here, OpenLens 6.4.15, behind proxy, had to install using TGZ file. The same error as above, hard refresh did not help. |
I got the same problem. In my case, it seems to be that OpenLens is looking for the extension code in a different place, than where the extension was installed, from OpenLens GUI. Installed: Expected: By copying the files to the expected folder, it started working. |
Thank you very much @brpaz, that helped me solve this same issue. Here's how I solved it for myself using @brpaz's advice. I opened up Dev Tools in OpenLens to check what error was being thrown. I saw that it was failing to find the plugin NPM package files in the location, which in my case was So I opened up a bash prompt at npm install @alebcay/openlens-node-pod-menu That fixed the issue and now I have the long-missing Pod menu in OpenLens. |
Thanks everyone for the info. Can someone please open an issue upstream for this? From what has been presented so far, this looks like an issue with the extension loading and installation process within Lens itself (this extension does not, for instance, dictate the Upstream may also ask for other information in the issue description, hence why I would appreciate if someone who has run into the issue to report there; I have not been able to reproduce this locally and am missing parts of what they're asking for. |
We had the same problem.
|
same problem here, installed on windows : debug :
so i tried to find a renderer.js file in the .tar but there is not this file why is there no "renderer.js" file while the logs request it ? |
It sounds like you are trying to download/use the source files from this repository, which is uncompiled TypeScript. The build process converts this into plain JavaScript which OpenLens consumes as a plugin. You can see that the version pushed to npm contains the $ curl "https://registry.npmjs.org/@alebcay/openlens-node-pod-menu/-/openlens-node-pod-menu-0.1.2.tgz" | tar tzf -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4456 100 4456 0 0 9958 0 --:--:-- --:--:-- --:--:-- 10104
package/LICENSE
package/dist/renderer.js
package/package.json
package/README.md Installing by providing the package name to OpenLens should from npmjs and thus contain the expected files. |
thanks, it works perfectly now with the tgz you send |
Success: Installation works perfectly (for me on a Mac) if I install using "@albecay/openlens-node-pod-menu" If instead I give the URL to the .tgz or select the downloaded .tgz in the file system, OpenLens claims that the installation was successful, but the Status flickers rapidly(!) back and forth between Enabled/Disabled until I restart OpenLens. After restarting, the Status is then steady (Enabled), but the menus still do not show up, and none of the solutions shown above make any difference. Attempting to uninstall did not remove the extension, and I had to edit various json files to truly uninstall the extension before I could install using the '@'-reference. I hope this helps someone :) |
I had same issue: windows without github acces and OpenLens 6.5.2-366 without logs button. I was download https://github.com/alebcay/openlens-node-pod-menu/archive/refs/tags/v0.1.2.tar.gz, unpack it and install from Extention page. Nothing was change :) Restart OpenLens - and works! |
uninstall and then reinstalling fixed this for me |
On Windows doesn't seem to work here. The extensions were "installed" and green, but no button. I went into c:\Users%USER%\AppData\Roaming\OpenLens\node_modules\ and followed @rakker91 advice of renaming the shortcut, creating a folder and copying files into it, then deleting the shortcut, and now I open lens and the extension menu is empty. This could definitely be improved. |
Hi, thank you for this addon, I was wondering if anybody has seen an issue where the addon is installed and enabled but we get no additional options for pod logs etc, only the default openlens options?
I had to install it via the tar download, no direct access to github but it installed fine and enabled fine.
thanks
Paul
The text was updated successfully, but these errors were encountered: