Closed wplatform closed 1 year ago
I get the exact same error on centos 7
Got the same error when i have tried to launch lens on centos 7.can you help on this? ./Lens-4.0.7.AppImage [13561:0124/165009.189457:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. Trace/breakpoint trap (core dumped) [root@myuser]# ./Lens-4.0.7.AppImage --no-sandbox Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank" innerError Error: Cannot find module '../build/Debug/pty.node' Require stack:
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at Function.o._resolveFilename (electron/js2c/browser_init.js:281:681)
at Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.
I am also seeing the same error. Mint with a DEB install. error.log
Seems to be the same issue as #1038 does the workaround there help?
@Nokel81 i have tried the solution mentioned#1038 but still i didn't work for me.please help us,all our machine are centos based , and we are completely struck here.
@Nachasic any ideas?
Any ideas? We are facing the same problem here.
No success building the latest release on CentOS 7 here. We are completely stuck here too. It seems that when Mirantis says Linux they really mean Ubuntu Linux.
Has anyone tried to run this in a Docker container?
Try to add these 2 libs into /opt/Lens :
It works for me, using Lens 5.3.1. The point is to find the good release. Lens will tell you if the version is not the one...
Bruno
Thanks for the hint! May I ask where you found these? A particular Linux (e.g. Ubuntu vX, or Fedora X, etc)?
Scott
On Dec 1, 2021, at 3:40 PM, brcros @.***> wrote:
Try to add these 2 libs into /opt/Lens :
libstdc++.so.6 libc.musl-x86_64.so.1 It works for me. The point is to find the good release. Lens will tell you if the version is not the one...
Bruno
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lensapp/lens/issues/903#issuecomment-984036506, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIJS6P3V7WTEYWBOCUGUTUO2B3ZANCNFSM4RP6JBDA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I got the same error on Ubuntu 20.04. It seems that during the installation process the ASAR archive is not unpacked. I had to do it manually and it works!
For DEB install:
npm install -g asar
cd /opt/Lens/resources
npx asar extract app.asar ./unpack
mv app.asar app.asar.orig
mv unpack app.asar
here is the workaround I used to install and use k8s lens on centos 7 (and also without account):
$ wget https://api.k8slens.dev/binaries/Lens-5.5.4-latest.20220609.2.x86_64.rpm
$ sudo yum install Lens-5.5.4-latest.20220609.2.x86_64.rpm
We have started building RPM packages on rocky Linux and now have a YUM repo so this should now be resolved.
launch log
innerError Error: Cannot find module '../build/Debug/pty.node' Require stack:
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17) at Function.o._resolveFilename (electron/js2c/browser_init.js:281:679) at Module._load (internal/modules/cjs/loader.js:690:27) at Function.Module._load (electron/js2c/asar.js:769:28) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/index.js',
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/static/build/main.js',
undefined
]
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.1Xsd1i)
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
at Object.func [as .node] (electron/js2c/asar.js:149:18)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
at Module._compile (internal/modules/cjs/loader.js:967:30)
(kontena-lens:15793): GdkPixbuf-WARNING **: 14:45:08.678: Cannot open pixbuf loader module file '/home/cms/snap/kontena-lens/common/.cache/gdk-pixbuf-loaders.cache': No such file or directory
This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /home/cms/snap/kontena-lens/common/.cache/gdk-pixbuf-loaders.cache to make things work again for the time being. GLib-GIO-Message: 14:45:09.179: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.