赞
踩
- 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
参考地址 https://blog.csdn.net/mossbaoo/article/details/86479537
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。