一、问题

在ubuntu上安装npm时

sudo apt-get install npm

出现了错误:

unable to lcoate package npm

二、解决办法

更新下apt就好了

sudo apt-get update

相关文章: