tabby
tabby copied to clipboard
ubuntu 20.04 can not run tabby. Cannot find module '../build/Debug/pty.node' (tabby-1.0.218-linux-x64.deb)
Environment: Linux masterli 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Tabby version: 1.0.218-linux-x64
Terminal log:
masterli@masterli:~$ tabby innerError Error: Cannot find module '../build/Debug/pty.node' Require stack:
- /opt/Tabby/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
- /opt/Tabby/resources/app.asar/node_modules/node-pty/lib/index.js
- /opt/Tabby/resources/app.asar/dist/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
at Function.s._resolveFilename (node:electron/js2c/browser_init:2:123242)
at Module._load (node:internal/modules/cjs/loader:1058:27)
at Function.c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (/opt/Tabby/resources/app.asar/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.
(/opt/Tabby/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:34:15) at Module._compile (/opt/Tabby/resources/app.asar/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1564:10) at Module.load (node:internal/modules/cjs/loader:1295:32) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/Tabby/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js', '/opt/Tabby/resources/app.asar/node_modules/node-pty/lib/index.js', '/opt/Tabby/resources/app.asar/dist/main.js', undefined ] } [88091:0826/140249.150954:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
same
This is not a bug. The new version of node-pty relies on libc 2.34. Some operating systems have libc versions lower than 2.34. This is very unfriendly to some operating systems. @Eugeny