摘要: 1.原npm地址 2.设置国内镜像 a.通过config命令 b.命令行指定 c.编辑 ~/.npmrc 加入下面内容 3.使用nrm管理registry地址 a.下载nrm b.添加registry地址 c.切换npm registry地址 搜索镜像: https://npm.taobao.org 阅读全文
posted @ 2017-05-11 14:55 枫叶布 阅读(92661) 评论(0) 推荐(4)
摘要: 1.安装sinopia包 如果是Windows系统用上面的方式安装sinopia很有可能报错,推荐使用下面方式安装: 在Windows下的依赖crypt3和FS-EXT可能无法编译和不可用。它们是可选的,不会影响Sinopia的使用。我们使用上面的安装方式 2.配置npm 3.启动sinopia 4 阅读全文
posted @ 2017-05-11 09:56 枫叶布 阅读(2004) 评论(0) 推荐(0)
摘要: //先卸载,后安装 npm uninstall -g @angular/cli npm cache clean npm install -g @angular/cli@latest 阅读全文
posted @ 2017-05-11 09:00 枫叶布 阅读(850) 评论(0) 推荐(0)