首页 > 其他 > 详细

Angular 新建项目错误:The Schematic workflow failed. See above

时间:2021-05-21 18:18:42      阅读:306      评论:0      收藏:0      [点我收藏+]

记录踩坑填坑,有不正之处请指出

错误

技术分享图片

解决方法1

npm config set registry https://registry.npmjs.org/

也可使用淘宝镜像

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

配置后可通过下面方式来验证是否成功

npm config get registry / npm info express

解决方法2

  1. 卸载angular/cli

    npm uninstall -f -g @angular/cli
    
  2. 强制清除缓存

    npm cache clean --force
    
  3. 重新安装cli

    npm install -g @angular/cli@latest
    

参考地址

stackoverflow1
stackoverflow2

Angular 新建项目错误:The Schematic workflow failed. See above

原文:https://www.cnblogs.com/JontyWang/p/14793823.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!