GitSquared / edex-ui

A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module "../build/Debug/pty.node" | Missing glibc2 (How to install?)

rainwashed opened this issue · comments

commented

Technical information

Using version:

  • master (running from GitHub-published source code, currently v3.0.0-pre)
  • latest (latest release, currently v2.2.5)
  • vX.X.X (specify other version)

Running on:

  • Linux
  • Windows
  • macOS

How comfortable you are with your system and/or IT in general:

  • I'm kind of lost, honestly
  • I know what's up, I could help you run some commands or checks
  • My machine is fully under my control, tell me what you need
  • I attended Defcon last year

Problem

(Write your report here. Screenshots and step-by-step instructions can help a lot!)
innerError Error: Cannot find module '../build/Debug/pty.node

I just downloaded the .AppImage and I've seen another issue and the comment was to install glibc2 or something. I don't know how to install it and apt doesn't seem to have it. Sorry if I am just stupid.

▶ start Starting eDEX-UI v2.2.5
ℹ info With Node 12.16.3 and Electron 10.2.0
ℹ info Renderer is Chrome 85.0.4183.121
▶ Startup Initialized timer...
ℹ info Base config dir is /home/david/.config/eDEX-UI
☐ pending Mirroring internal assets...
☐ pending Loading settings file...
☐ pending Resolving shell path...
ℹ info Shell found at /bin/bash
✔ success Settings loaded!
☐ pending Creating new terminal process on port 3000
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:

  • /tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
  • /tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/index.js
  • /tmp/.mount_eDEX-UpafQ49/resources/app.asar/classes/terminal.class.js
  • /tmp/.mount_eDEX-UpafQ49/resources/app.asar/_boot.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:961:15)
    at Function.o._resolveFilename (electron/js2c/browser_init.js:257:921)
    at Module._load (internal/modules/cjs/loader.js:844:27)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (internal/modules/cjs/loader.js:1023:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object. (/tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
    at Module._compile (internal/modules/cjs/loader.js:1145:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1166:10)
    at Module.load (internal/modules/cjs/loader.js:981:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
    '/tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/index.js',
    '/tmp/.mount_eDEX-UpafQ49/resources/app.asar/classes/terminal.class.js',
    '/tmp/.mount_eDEX-UpafQ49/resources/app.asar/_boot.js',
    undefined
    ]
    }
    (node:18836) UnhandledPromiseRejectionWarning: Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.CqHSLq) at process.func [as dlopen] (electron/js2c/asar.js:140:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1196:18) at Object.func [as .node] (electron/js2c/asar.js:149:18) at Module.load (internal/modules/cjs/loader.js:981:32) at Module._load (internal/modules/cjs/loader.js:881:14) at Function.Module._load (electron/js2c/asar.js:769:28) at Module.require (internal/modules/cjs/loader.js:1023:19) at require (internal/modules/cjs/helpers.js:77:18) at Object.<anonymous> (/tmp/.mount_eDEX-UpafQ49/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11) at Module._compile (internal/modules/cjs/loader.js:1145:30) (node:18836) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    (node:18836) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

image

commented

I am not sure what it supports but I use Xubuntu if that helps.

As is said in the comment @wrac4242 linked, you should try downloading a CI build to see if it works for you.
I should get a new patch release out very soon.