TypeError: Cannot read property 'newLine' of undefined
2017-02-14 12:15
936 查看
背景:今天安装了新版本的@angular-cli 然后之前的项目就这样了
解决方案:
卸载angular-cli
缓存
重新安装(一定记得配镜像,好慢好慢的)
解决方案:
卸载angular-cli
npm uninstall -g angular-cli @angular/cli
缓存
npm cache clean
重新安装(一定记得配镜像,好慢好慢的)
npm install -g @angular/cli@latest
End
相关文章推荐
- angular-cli启动问题——TypeError: Cannot read property 'newLine' of undefined
- jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property 'style' of undefined原因
- Uncaught TypeError: Cannot read property 'length' of undefined
- TypeError: Cannot read property 'query' of undefined
- echarts.min.js:25 Uncaught TypeError: Cannot read property 'features' of undefined
- Uncaught TypeError: Cannot read property 'decimalSeparator' of undefined
- 浏览器报Uncaught TypeError: Cannot read property 'trigger' of undefined解决方案
- H5拖放事件 "Uncaught TypeError: Cannot read property 'setData' of undefined"
- 遇到问题-----mongodb-------Uncaught TypeError: Cannot read property 'value' of undefined
- bug宝典之bootstrap switch Uncaught TypeError: Cannot read property 'apply' of undefined
- extjs4:Uncaught TypeError: Cannot read property 'processed' of undefined
- 浏览器报Uncaught TypeError: Cannot read property 'trigger' of undefined解决方案
- Uncaught TypeError: Cannot read property 'decimalSeparator' of undefined
- js的form(load报错jquery.easyui.min.js:2837 Uncaught TypeError: Cannot read property 'tip' of undefined
- Uncaught TypeError: Cannot read property 'length' of undefined
- aes.js:77 Uncaught TypeError: Cannot read property 'extend' of undefined(…)
- Uncaught TypeError: Cannot read property 'msie' of undefined
- Datatables 之Uncaught TypeError: Cannot read property 'mData' of undefined
- qml TypeError: Cannot read property 'xxx' of undefined 错误处理
- Cannot read property 'newLine' of undefined