Package Details: lens 6.5.2-1

Git Clone URL: https://aur.archlinux.org/lens.git (read-only, click to copy)
Package Base: lens
Description: The Kubernetes IDE
Upstream URL: https://k8slens.dev
Keywords: aks dashboard devops kubernetes
Licenses: MIT
Conflicts: lens-bin
Submitter: dbirks
Maintainer: ogarcia
Last Packager: ogarcia
Votes: 8
Popularity: 0.000522
First Submitted: 2020-03-27 06:44 (UTC)
Last Updated: 2023-06-19 09:09 (UTC)

Dependencies (7)

Required by (0)

Sources (3)

Pinned Comments

ogarcia commented on 2024-01-26 09:29 (UTC) (edited on 2024-01-26 09:31 (UTC) by ogarcia)

WARNING: Lens has closed its source code

Lens has officially become a closed source application so this package will no longer be updated and may soon request to be removed from the AUR.

If you are interested in continuing to use Lens you can use the lens-bin binary package or, better, use an open source alternative such as k9s, kdash, Headlamp or Seabird.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ogarcia commented on 2023-05-24 09:20 (UTC)

For those people who have problems building the package, please build it in a clean chroot, it will work for you and save you trouble. Steps to do it:

# Install devtools
sudo pacman -S devtools
# Clone pkgbuild repo
git clone https://aur.archlinux.org/lens.git
cd lens
# Build package in a clean chroot
extra-x86_64-build

Felixoid commented on 2023-05-22 10:49 (UTC) (edited on 2023-05-22 10:58 (UTC) by Felixoid)

Please, consider fixing the package build.

Now it doesn't build, so it's rather completely broken since at least 6.4.4

 >  Lerna (powered by Nx)   Running target build for 9 projects failed

   Failed tasks:

   - @k8slens/extensions:build
   - open-lens:build

sloker commented on 2023-04-19 09:40 (UTC)

Can you write step by step how to properly install this package to bypass the error below?

samuelbernardo commented on 2023-03-08 16:34 (UTC) (edited on 2023-03-08 16:35 (UTC) by samuelbernardo)

lens 6.4.4

@k8slens/core: <s> [webpack.Progress] 11% building 0/1 entries 1270/1300 dependencies 98/897 modules
open-lens: lens-app-main:
open-lens:   assets by status 13.1 KiB [cached] 1 asset
open-lens:   orphan modules 6.66 KiB [orphan] 5 modules
open-lens:   runtime modules 670 bytes 3 modules
open-lens:   built modules 8.6 KiB [built]
open-lens:     optional modules 7.49 KiB [optional]
open-lens:       ../src/main/ sync \.injectable(\.linux)?\.tsx?$ 160 bytes [optional] [built] [code generated]
open-lens:       ../src/common/ sync \.injectable(\.linux)?\.tsx?$ 204 bytes [optional] [built] [code generated]
open-lens:       ../src/common/application-information.injectable.ts + 2 modules 7.13 KiB [not cacheable] [optional] [built] [code generated]
open-lens:     ../src/main/index.ts + 3 modules 1.07 KiB [not cacheable] [built] [code generated]
open-lens:     external "@ogre-tools/injectable" 42 bytes [built] [code generated]
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/common/application-information.injectable.ts
open-lens:   3:68-90
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/common/application-information.injectable.ts(3,69)
open-lens:         TS2307: Cannot find module '@k8slens/core/common' or its corresponding type declarations.
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts
open-lens:   4:82-102
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts(4,83)
open-lens:         TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts
open-lens:   27:19-24
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts(27,20)
open-lens:         TS7006: Parameter 'error' implicitly has an 'any' type.
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts
open-lens:   35:7-27
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/main/index.ts(35,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer/index.ts
open-lens:   4:90-114
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer/index.ts(4,91)
open-lens:         TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:   ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer/index.ts
open-lens:   32:7-31
open-lens:   [tsl] ERROR in /home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer/index.ts(32,8)
open-lens:         TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:   6 errors have detailed information that is not shown.
open-lens:   Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
open-lens:   lens-app-main (webpack 5.75.0) compiled with 6 errors in 5193 ms
open-lens: lens-app-renderer:
open-lens:   assets by status 1.4 MiB [cached] 4 assets
open-lens:   runtime modules 793 bytes 4 modules
open-lens:   orphan modules 196 KiB [orphan] 2 modules
open-lens:   cacheable modules 302 KiB
open-lens:     modules by path ./node_modules/ 105 KiB
open-lens:       modules by path ./node_modules/lodash/ 97.3 KiB
open-lens:         modules by path ./node_modules/lodash/fp/*.js 25.9 KiB 3 modules
open-lens:         modules by path ./node_modules/lodash/*.js 71.4 KiB 2 modules
open-lens:       modules by path ./node_modules/@ogre-tools/ 8.04 KiB
open-lens:         ./node_modules/@ogre-tools/injectable/build/index.js 5.52 KiB [built] [code generated]
open-lens:         + 2 modules
open-lens:     modules by path ./src/ 197 KiB
open-lens:       ./src/renderer/index.ts + 1 modules 190 KiB [built] [code generated]
open-lens:       ./src/common/application-information.injectable.ts + 1 modules 7.09 KiB [optional] [built] [code generated]
open-lens:   ./src/renderer/ sync \.injectable(\.linux)?\.tsx?$ 160 bytes [built] [code generated]
open-lens:   ./src/common/ sync \.injectable(\.linux)?\.tsx?$ 204 bytes [built] [code generated]
open-lens:   ERROR in ./src/common/application-information.injectable.ts 2:0-67
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/common' in '/home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/common'
open-lens:    @ ./src/common/ sync \.injectable(\.linux)?\.tsx?$
open-lens:    @ ./src/renderer/index.ts 16:12-80
open-lens:   ERROR in ./src/renderer/index.ts 1:0-30
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/styles' in '/home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer'
open-lens:   ERROR in ./src/renderer/index.ts 4:0-115
open-lens:   Module not found: Error: Can't resolve '@k8slens/core/renderer' in '/home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/src/renderer'
open-lens:   ERROR in unable to locate '/home/samuel/.cache/yay/lens/src/lens-6.4.4/packages/open-lens/node_modules/@k8slens/core/static/build/library/*.ttf' glob
open-lens:   ERROR in ./src/common/application-information.injectable.ts:3:69
open-lens:   TS2307: Cannot find module '@k8slens/core/common' or its corresponding type declarations.
open-lens:       1 |
open-lens:       2 | import { getInjectable } from "@ogre-tools/injectable";
open-lens:     > 3 | import { applicationInformationToken, ApplicationInformation } from "@k8slens/core/common";
open-lens:         |                                                                     ^^^^^^^^^^^^^^^^^^^^^^
open-lens:       4 | import packageJson from "../../package.json";
open-lens:       5 |
open-lens:       6 | const applicationInformationInjectable = getInjectable({
open-lens:   ERROR in ./src/main/index.ts:4:83
open-lens:   TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:       2 | import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
open-lens:       3 | import { runInAction } from "mobx";
open-lens:     > 4 | import { createApp, mainExtensionApi as Main, commonExtensionApi as Common } from "@k8slens/core/main";
open-lens:         |                                                                                   ^^^^^^^^^^^^^^^^^^^^
open-lens:       5 |
open-lens:       6 | const di = createContainer("main");
open-lens:       7 | const app = createApp({
open-lens:   ERROR in ./src/main/index.ts:27:20
open-lens:   TS7006: Parameter 'error' implicitly has an 'any' type.
open-lens:       25 | });
open-lens:       26 |
open-lens:     > 27 | app.start().catch((error) => {
open-lens:          |                    ^^^^^
open-lens:       28 |   console.error(error);
open-lens:       29 |   process.exit(1);
open-lens:       30 | })
open-lens:   ERROR in ./src/main/index.ts:35:8
open-lens:   TS2307: Cannot find module '@k8slens/core/main' or its corresponding type declarations.
open-lens:       33 |   Mobx,
open-lens:       34 |   Pty,
open-lens:     > 35 | } from "@k8slens/core/main";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^
open-lens:       36 |
open-lens:       37 | export const LensExtensions = {
open-lens:       38 |   Main,
open-lens:   ERROR in ./src/renderer/index.ts:4:91
open-lens:   TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:       2 | import { createContainer } from "@ogre-tools/injectable";
open-lens:       3 | import { runInAction } from "mobx";
open-lens:     > 4 | import { createApp, rendererExtensionApi as Renderer, commonExtensionApi as Common } from "@k8slens/core/renderer";
open-lens:         |                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^
open-lens:       5 | import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
open-lens:       6 |
open-lens:       7 | const di = createContainer("renderer");
open-lens:   ERROR in ./src/renderer/index.ts:32:8
open-lens:   TS2307: Cannot find module '@k8slens/core/renderer' or its corresponding type declarations.
open-lens:       30 |   Mobx,
open-lens:       31 |   MobxReact,
open-lens:     > 32 | } from "@k8slens/core/renderer";
open-lens:          |        ^^^^^^^^^^^^^^^^^^^^^^^^
open-lens:       33 |
open-lens:       34 | export const LensExtensions = {
open-lens:       35 |   Renderer,
open-lens:   3 errors have detailed information that is not shown.
open-lens:   Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
open-lens:   lens-app-renderer (webpack 5.75.0) compiled with 10 errors in 5292 ms
error Command failed with exit code 1.

Bitals commented on 2023-03-08 08:44 (UTC)

The build order is fixed starting from 6.5.0 where introduction of npm workspaces will make lerna understand package dependencies correctly. Notice that 6.5.0 will require the assumed AUR package to migrate from yarn to npm.

To fix this in a practical way right now in 6.4.0+, the script in AUR package could build OpenLens before other stuff.

Bitals commented on 2023-03-06 20:27 (UTC)

It seems to need multiple tries in the same environment on systems with large number of cores due to a race condition (that's my speculation) for now. So if you have a lot of cores and it fails - just let it complete the failed run and then try again, should compile fine. Made a ticket about this on the devs Github: https://github.com/lensapp/lens/issues/7290

ogarcia commented on 2023-01-31 07:47 (UTC)

@insanemal I know, but that doesn't take away from the fact that version 6.3.0 is a buggy piece of crap. As soon as 6.4.0 is released I think that can update the package.

insanemal commented on 2023-01-31 03:44 (UTC)

@ogarcia

They didn't remove the functionality. They removed remote repositories from their git repo.

You can re-enable those features by manually installing that plug in.

Open up the Extensions menu paste: @alebcay/openlens-node-pod-menu

into the text box and click install.

This will be the state of things moving forward.

Soroshi commented on 2022-12-06 18:18 (UTC)

Perhaps this package could use nvm as a makedepends instead of nodejs-lts-gallium, which conflicts with the main nodejs package? Yes I could build this in a clean chroot using the devtools package or similar, but many people use an aur helper and not all of them support that.

ogarcia commented on 2022-09-20 12:15 (UTC)

Yes, it seems to me that they changed the tag and that is why the sum does not match. Solved. Thanks @daftaupe!