当前位置:网站首页>install tldr
install tldr
2022-08-05 12:01:00 【fire red cloud】
安装tldr
执行命令安装tldr
sudo apt-get install nodejssudo apt-get install npmsudo npm install -g tldr安装失败,提示:
WARN engine [email protected]3.3.7: wanted: { "node":">=6.12.0"} (current: { "node":"4.2.6","npm":"3.5.2"}) WARN engine [email protected]3.3.7: wanted: { "node":">=6.12.0"} (current: { "node":"4.2.6","nloadDep:ora → 200 ▀ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine [email protected]4.1.2: wanted: { "node":">=10"} (current: { "node":"4.2.6","npm":"3.5.2"}) WARN engine fs-[email protected]9.1.0: wanted: { "node":">=10"} (current: { "node":"4.2.6","nloadDep:ora → addNamed ▐ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine [email protected]5.4.1: wanted: { "node":">=10"} (current: { "node":"4.2.6","npm":"loadDep:ora → fetch ▀ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine [email protected]2.1.3: wanted: { "node":">= 10"} (current: { "node":"4.2.6","nploadDep:ora → 200 ▄ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine [email protected]6.2.1: wanted: { "node":">= 6"} (current: { "node":"4.2.6","loadDep:supports-color → ▄ ╢███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine supports-[email protected]7.2.0: wanted: { "node":">=8"} (current: { "node":"4.2.6","npm":"3.5.2"}) WARN engine ansi-[email protected]4.3.0: wanted: { "node":">=8"} (current: { "node":"4.2.6",loadDep:color-convert → 2 ▄ ╢███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine color-[email protected]2.0.1: wanted: { "node":">=7.0.0"} (current: { "node":"4loadDep:has-flag → 200 ▄ ╢███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine has-[email protected]4.0.0: wanted: { "node":">=8"} (current: { "node":"4.2.6","nploadDep:universalify → ge ▌ ╢████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ WARN engine [email protected]2.0.0: wanted: { "node":">= 10.0.0"} (current: { "node":"npm ERR! Linux 4.15.0-142-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "tldr" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! code EMISSINGARG npm ERR! typeerror Error: Missing required argument #1 npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3) npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22) npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12) npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7 npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50 npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12 npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5) npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7) npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20) npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50 npm ERR! typeerror This is an error with npm itself. Please report this error at: npm ERR! typeerror <http://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /home/lux/npm-debug.log 错误原因:nodejs版本太低
执行命令,升级nodejs
sudo apt-get install nodejs-legacysudo npm install -g nsudo n latestsudo node -v查看nodejs版本号升级失败:提示
node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)我用的是16.4这个版本的nodejs不支持
执行命令
sudo n stablesudo node -vCheck the version number is normal
v16.16.0安装tldr
sudo npm install -g tldr更新tldr
tldr --update尝试使用tdlr
tdlr tar
边栏推荐
- CC2530之ADC采集
- 2022.08.02_每日一题
- 623. Add a row to a binary tree: Simple binary tree traversal problems
- 解决 json.dump 报错:TypeError - Object of type xxx is not JSON serializable
- Regular expressions in action
- 2022.08.03_Daily Question
- 花的含义
- 796. Sum of Submatrices
- 软件设计七大原则之开闭原则(Open-Closed Principle, OCP)
- 二:OpenCV图片叠加逻辑运算
猜你喜欢

高泽龙出席博鳌全球旅游生态大会 讲元宇宙与未来网络科技

Quick Check of OGC WebGIS Common Service Standards (WMS/WMTS/TMS/WFS)

码率vs.分辨率,哪一个更重要?

详细剖析 Redis 三种集群策略

Two: OpenCV image overlay logical operation

C语言例题-计算常量e的值

食品饮料行业B2B商城系统:加速行业数字化转型,提升B2B平台交易效率

Opening today: LiveVideoStackCon 2022 Audio and Video Technology Conference Shanghai Station

MySQL之InnoDB存储结构

stm32项目之SPI通信2.4G模块(NF2401L)
随机推荐
CC2530实现按键中断
Mysql8基础知识
C language example - calculating the value of constant e
2022.08.03_Daily Question
795. Prefix and
797. 差分
Security Issues and Prevention in Web3
796. Sum of Submatrices
Reflect中的方法
60行从零开始自己动手写FutureTask是什么体验?
2022.08.02_Daily question
澳洲站:电吹风AS/NZS 60335.2.23: 2017 安全标准测试
冬日里,28℃的爱情
Keras 分割网络自定义评估函数 - mean iou
Visit GOPS Long Zhi booth, Forrester's latest report: "the Forrester Wave: the fourth quarter of 2021 enterprise service management report
hdu1455 Sticks (search+pruning+pruning+.....+pruning)
C language example - print calendar
银行交易系统怎么保证数据交易强一致性?通过数据库组件?怎么保证高并发下数据库交易数据正常一致性?
Shang Silicon Valley-JVM-Memory and Garbage Collection (P1~P203)
2022.08.03_每日一题