前言: 今天运行vs报了这样的错误,如图所示: 解决方法: cd 项目目录(angular.json的那个) ng update @angular/cli --migrate-only --from=<WhateverVersionYouAreCurrentlyOn>