解决方案:
- 删除node_modules
- 依次运行
ng update @angular/core @angular/cli
ng update @angular/material
npm i
- 如果无法解决,请对应报错的第三方包,是否版本问题
解决方案:
ng update @angular/core @angular/cli
ng update @angular/material
npm i
本文标题:ng9 angular: an accessor cannot
本文链接:https://www.haomeiwen.com/subject/bmxpwhtx.html
网友评论