Fix TypeError: Cannot read property 'emit' of undefined after upgrade to 2.0.0 @ionic/cli-plugin-ion
2017-07-03 12:34
2823 查看
报错
TypeError: Cannot read property ‘emit’ of undefined after upgrade to 2.0.0 @ionic/cli-plugin-ionic1解决方案
$npm i -g ionic@latest
ionic 和 当前 ionic-cli版本不同导致的问题,需同步升级ionic
参考
https://github.com/ionic-team/ionic-cli/issues/2437相关文章推荐
- angular-cli启动问题——TypeError: Cannot read property 'newLine' of undefined
- Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
- 关于Uncaught TypeError: Cannot read property 'toLowerCase' of undefined的问题
- aes.js:77 Uncaught TypeError: Cannot read property 'extend' of undefined(…)
- TypeError: Cannot read property 'newLine' of undefined
- Uncaught TypeError: Cannot read property 'plugin' of undefined
- 遇到问题-----mongodb-------Uncaught TypeError: Cannot read property 'value' of undefined
- Mac下编译在windows创建的项目TypeError: Cannot read property 'message' of undefined...解决方案
- Uncaught TypeError: Cannot read property 'length' of undefined
- Uncaught TypeError: Cannot read property 'decimalSeparator' of undefined
- qml TypeError: Cannot read property 'xxx' of undefined 错误处理
- Uncaught TypeError: Cannot read property 'msie' of undefined
- bug宝典之bootstrap switch Uncaught TypeError: Cannot read property 'apply' of undefined
- echarts.min.js:25 Uncaught TypeError: Cannot read property 'features' of undefined
- H5拖放事件 "Uncaught TypeError: Cannot read property 'setData' of undefined"
- js的form(load报错jquery.easyui.min.js:2837 Uncaught TypeError: Cannot read property 'tip' of undefined
- Uncaught TypeError: Cannot read property 'decimalSeparator' of undefined
- jquery.dataTables.min.js:62 Uncaught TypeError: Cannot read property 'style' of undefined原因
- tankgame2.js:37 Uncaught TypeError: Cannot read property 'direct' of undefined(…)
- extjs4:Uncaught TypeError: Cannot read property 'processed' of undefined