更新npm sudo npm i npm@latest -g 更新node 清除node的cache stuo npm cache clean -f安装n工具,这个工具是专门用来管理node版本的 sudo npm i -g n安装最新版本的node stuo n stable