angular2环境配置

在angular2JS环境配置的时候,使用npm命令安装package.json中的依赖包,输入命令  npm install 应该得到如图↓ 结构文件夹(红线框内)

 

 

在此安装过程中可能会因为加载原网站链接比较慢不容易得到此目录,可以尝试换源处理一下,

① npm config set registry https://reqistry.npm.taobao.org/

② npm install nrm

③ npm install nrm -g

④ nrm add taobao https://reqistry.npm.taobao.org/

⑤ nrm list

⑥ nrm use taobao

然后返回相关根目录 进行安装package.json 中的安装包 ,安装成功 如图 ↓:

 

posted @ 2016-11-01 13:57  Asbefore  阅读(209)  评论(0编辑  收藏  举报