Score:1

Wetty Ubuntu 20.04

ci flag

I'm trying to install wetty on Ubuntu 20.04, but I'm running into some issues. I get a lot of warnings and errors when I run the npm install command. All the guides I find are related to older version of Ubuntu. Is wetty supported for Ubuntu 20.04?

Here are the errors.

root@coral:~# node -v
v10.19.0
root@coral:~# npm -v
6.14.4
root@coral:~# git clone https://github.com/krishnasrinivas/wetty
Cloning into 'wetty'...
remote: Enumerating objects: 2233, done.
remote: Counting objects: 100% (345/345), done.
remote: Compressing objects: 100% (283/283), done.
remote: Total 2233 (delta 158), reused 160 (delta 56), pack-reused 1888
Receiving objects: 100% (2233/2233), 3.40 MiB | 6.31 MiB/s, done.
Resolving deltas: 100% (1163/1163), done.
root@coral:~# cd wetty
root@coral:~/wetty# npm install
npm WARN deprecated @types/[email protected]: This is a stub types definition. winston provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/[email protected]: This is a stub types definition.
socket.io-parser provides its own type definitions, so you do not need this installed.
npm WARN deprecated [email protected]: request-promise-native has been
deprecated because it extends the now deprecated request package, see https://github.com>/request/request/issues/3142
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"
[email protected] install /root/wetty/node_modules/bufferutil
node-gyp-build
sh: 1: node-gyp-build: Permission denied
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"}) npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/rollup/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] install: node-gyp-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-12-02T12_19_34_219Z-debug.log
Artur Meinild avatar
vn flag
I'm currently running WeTTY in a Docker container (to make things easy for myself), so you could consider this option. Although I haven't tested the latest version in Docker (no official image yet, but I'm looking into it).
raj avatar
cn flag
raj
Maybe you try `shellinabox` instead of `wetty`? It is in the Ubuntu repositiories, installs & runs without problems.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.