curl --silent --location https://rpm.nodesource.com/setup_10.x | bash - yum install -y nodejs npm install -g cnpm --registry=https://registry.npm.taobao.org npm install npm run build npm -v
//安装npm升级工具 npm install -g n
//安装最近的稳定版本 n stable
发布 问题
回到 顶部