美文网首页
angular脚手架升降级处理

angular脚手架升降级处理

作者: lazy_tomato | 来源:发表于2020-06-30 15:51 被阅读0次

1.卸载之前的版本

npm uninstall -g @angular/cli

2.清除缓存,确保卸载干净

npm cache clean --force

3.检查是否卸载干净

输入命令

ng -v

若显示command not found则卸载干净

4.安装指定版本

npm install -g @angular/cli@1.6.3

5.检查版本号

ng -v

原文链接:https://blog.csdn.net/ittvibe/article/details/79062838

相关文章

网友评论

      本文标题:angular脚手架升降级处理

      本文链接:https://www.haomeiwen.com/subject/smyxqktx.html