[英]nodejs latest version on my pc is not the latest
我打算开始使用 reactjs 但我有这个:
create-react-app myapp
You are running Node 9.11.2.
Create React App requires Node 14 or higher.
Please update your version of Node.
我试图通过运行更新我的节点 js:
sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.10.0~dfsg-2ubuntu0.4).
The following package was automatically installed and is no longer required:
libllvm6.0
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我的电脑是 32 位 extensa 5635z 我的操作系统是 lubuntu
请问有什么帮助吗?
要安装所需版本的 nodejs,您可以使用NodeSource Node.js Binary Distributions 。
对于 Node.js v17.x:
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install -y nodejs
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.