main
[termux] code-server 설치 에러 본문
Command
yarn global add code-server
Error - 1
error code-server@4.5.1: The engine "node" is incompatible with this module. Expected version "16". Got "18.7.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
해결 방법 - 1
설치된 node js version이 높아 발생한 에러로, downglade 한다.
pkg delete nodejs
apt-get install yarn nodjs-lts=16.16.0.-1
Error -2
Error: sudo required (or change ownership, or define N_PREFIX)
해결방법 - 2
sudo 권한이 필요함
pkg install tsu
Error - 3
Failed to execute '/data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/data/data/com.termux/files/home/.config/yarn/global/node_modules/argon2/lib/binding/napi-v3/argon2.node --module_name=argon2 --module_path=/data/data/com.termux/files/home/.config/yarn/global/node_modules/argon2/lib/binding/napi-v3 --napi_version=8 --node_abi_napi=napi --n
해결방법 - 3
pkg install binutils
728x90
'ETC' 카테고리의 다른 글
[Linux] username 으로 사용 중인 프로세스 kill (0) | 2022.09.02 |
---|---|
이스케이핑 (escaping) (0) | 2022.08.21 |
[termux] Failed to fetch https://deb.kcubeterm.me/termux-main/dists/... (0) | 2022.08.13 |
[Puttygen] SSH키 생성하기 (0) | 2022.08.01 |
[Jira] 개발 패널 정보 Rest API (0) | 2022.07.20 |
Comments