解决:生成IonicModule.forChild报错(Property 'forChild' does not exist on type 'typeof IonicModule'.)
来源:互联网 发布:linux tail -f 编辑:程序博客网 时间:2024/05/17 02:49
目前,在使用 ionic g page xxxx 生成ionic2组件时,报错:
Property 'forChild' does not exist on type 'typeof IonicModule'.
解决办法:
第一步:将IonicModule.forChild的IonicModule改成:IonicPageModule.forChild
第二步:修改引入:import {IonicPageModule } from 'ionic-angular';
1 0
- 解决:生成IonicModule.forChild报错(Property 'forChild' does not exist on type 'typeof IonicModule'.)
- angular2 Property 'map' does not exist on type 'Observable<Response>'.
- TypeScript 错误“property does not exist on value of type”
- Property 'subscribe' does not exist on type '() => Observable<any>'
- 解决Android Studio编译后安装apk报错:The APK file does not exist on
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- android studio 报错resources-debug-stripped.ap_' specified for property 'resourceFile' does not exist.
- Eclipse下JUnit报错“The input type of the launch configuration does not exist ”
- AndroidStudio运行报错 apk file does not exist on dis
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- Android Studio编译后安装apk报错:The APK file does not exist on
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- 我的Android进阶之旅------>解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- android – 报错column ‘_id’ does not exist的解决
- skype4.3 Ubuntu14.04
- 3Glasses D2/蓝珀S1兼容steam插件优化版
- 前端之ES6
- 单循环链表--约瑟夫环
- Failed to compile resources with the following parameters
- 解决:生成IonicModule.forChild报错(Property 'forChild' does not exist on type 'typeof IonicModule'.)
- for循环去掉最后一个逗号
- Android 手机定位
- Linux常用网络工具总结
- 如何理解spring中的IOC和AOP
- Spring装配Bean——高级装配之与环境相关的bean
- YYKit学习笔记
- [转载]Node.js模块化机制原理探究
- goahead v3.6.3版本移植成功