下载地址: http://nodejs.cn/node
安装方法: 一直nextnpm
验证安装: 打开CMD窗口输入 node -v 命令 显示版本号,则安装成功json
( 1 ) npm login 登录npm帐户 帐号. 密码 邮箱服务器
( 2 ) npm publish 上传spa
常见错误:code
1. blog
npm ERR! code E401
npm ERR! Incorrect or missing password.get
2.it
!!!!若使用淘宝镜像,提交时必须切回国外服务器!!!!class
nrm ls 查看当前
nrm use npm 切换回npm
nrm安装命令: npm install -g nrm
----