Skip to content

Angular升级流程

L edited this page Aug 14, 2018 · 6 revisions

执行命令

ng update @angular/cli --migrate-only --from=1.7.1
npm install --save-dev @angular/cli@latest

注意from=1.7.1,填写自己的原version
然后可能因为包的原因会有一些报错,根据报错内容,谷歌解决即可

参考资料

https://stackoverflow.com/questions/49810580/error-local-workspace-file-angular-json-could-not-be-found

Clone this wiki locally