【webRTC】【Node.js】【npm】-报错ERROR: npm is known not to run on Node.js v10.19.1
【webRTC】【Node.js】【npm】-报错ERROR: npm is known not to run on Node.js v10.19.1
·
macOS、linux、ubuntu中,
执行npm命令时,报错:
# npm install socket.io
ERROR: npm is known not to run on Node.js v10.19.0
You'll need to upgrade to a newer Node.js version in order to use this
升级Node.js。
步骤:
wget -qO- https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
【注意】:
Node.js
更多推荐
已为社区贡献1条内容
所有评论(0)