[英]Reinstalling Nodejs - i am stuck in the middle of instalation with errors
My system: Ubuntu 20.04我的系统:Ubuntu 20.04
I broke it with random commands from Internet and now I am stuck when I type node -v我用来自互联网的随机命令破坏了它,现在当我输入 node -v 时我被卡住了
Command 'node' not found, but can be installed with: sudo apt install NodeJS找不到命令“节点”,但可以使用以下命令安装:sudo apt install NodeJS
when i type apt install NodeJS nodejs is already the newest version (10.19.0~dfsg-3ubuntu1)当我输入 apt install NodeJS nodejs 已经是最新版本(10.19.0~dfsg-3ubuntu1)
which is weird, any ideas?这很奇怪,有什么想法吗? And yes, i am obviously new in Linux
是的,我显然是 Linux 的新手
Please check this article to completely uninstall nodejs => How can I completely uninstall nodejs, npm and node in Ubuntu请查看这篇文章以完全卸载 nodejs => 如何完全卸载 nodejs、npm 和 Ubuntu 中的节点
After cleaning all NODEJS folders/files you can try to install it again.清除所有 NODEJS 文件夹/文件后,您可以尝试再次安装它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.