Closed JMFigueiras closed 5 years ago
My package.json:
{ "name": "comanda", "version": "0.0.1", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "start": "ionic-app-scripts serve", "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint" }, "dependencies": { "@angular/animations": "5.2.11", "@angular/common": "5.2.11", "@angular/compiler": "5.2.11", "@angular/compiler-cli": "5.2.11", "@angular/core": "^5.2.11", "@angular/forms": "5.2.11", "@angular/http": "5.2.11", "@angular/platform-browser": "5.2.11", "@angular/platform-browser-dynamic": "5.2.11", "@angular/router": "5.2.11", "@ionic-native/barcode-scanner": "^4.17.0", "@ionic-native/camera": "^4.16.0", "@ionic-native/core": "~4.15.0", "@ionic-native/fcm": "^5.9.0", "@ionic-native/firebase": "^4.17.0", "@ionic-native/native-audio": "^4.17.0", "@ionic-native/splash-screen": "~4.15.0", "@ionic-native/status-bar": "~4.15.0", "@ionic/angular": "^4.6.2", "@ionic/storage": "2.2.0", "angular-sanitize": "^1.7.8", "angularfire2": "^5.1.0", "chart.js": "^2.7.3", "cordova-android": "8.0.0", "cordova-plugin-camera": "^4.0.3", "cordova-plugin-device": "^2.0.2", "cordova-plugin-fcm-with-dependecy-updated": "2.4.0", "cordova-plugin-ionic-keyboard": "^2.1.3", "cordova-plugin-ionic-webview": "^2.2.5", "cordova-plugin-nativeaudio": "^3.0.9", "cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-whitelist": "^1.3.3", "domsanitizer": "^0.2.0", "firebase": "^5.5.5", "ionic-angular": "3.9.8", "ionic2-rating": "^1.2.2", "ionicons": "3.0.0", "moment": "^2.22.2", "ng2-charts": "^1.6.0", "phonegap-plugin-barcodescanner": "^8.0.0", "promise-polyfill": "^8.1.0", "rxjs": "6.3.3", "rxjs-compat": "6.3.3", "sw-toolbox": "3.6.0", "zone.js": "0.8.26" }, "devDependencies": { "@ionic/app-scripts": "3.2.4", "typescript": "~2.6.2" }, "description": "An Ionic project", "cordova": { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-nativeaudio": {}, "cordova-plugin-camera": {}, "phonegap-plugin-barcodescanner": { "ANDROID_SUPPORT_V4_VERSION": "27.+" }, "cordova-plugin-fcm-with-dependecy-updated": {} }, "platforms": [ "android" ] } }
Your problem here is the angular version. It must be 7+
But you have 5+
https://github.com/ionic-team/ionic-conference-app/blob/master/package.json#L27
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
I am getting the following errors:
`[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 18 '>' expected.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 18 Expression expected.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 28 '>' expected.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 28 Expression expected.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3485 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3489 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3493 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3497 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3556 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3560 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3564 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3568 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3633 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3693 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3697 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3838 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3842 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3846 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3980 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3984 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 3988 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4070 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4074 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4078 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4082 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4154 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4158 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4232 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4236 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4240 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4254 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4350 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4354 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4358 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4362 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4511 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4525 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4605 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4609 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4613 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4617 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4652 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4656 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4660 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4664 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4751 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4755 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4759 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4763 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4782 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4786 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4875 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4879 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4883 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4887 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4944 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4948 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4952 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 4956 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5017 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5021 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5025 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5043 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5085 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5089 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5093 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5127 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5131 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5135 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5180 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5200 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5214 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5224 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5228 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5319 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5323 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5327 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5331 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5335 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5339 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5381 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5385 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5415 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5465 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5469 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5473 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5477 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5539 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5543 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5547 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5551 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5555 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5559 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5563 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5567 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5571 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5575 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5579 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5583 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5587 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5591 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5595 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5599 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5643 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5719 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5723 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5787 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5791 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5795 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5799 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5888 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5892 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5896 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5900 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5939 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5943 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/components.d.ts, line: 5947 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/interface.d.ts, line: 49 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/stencil.core.d.ts, line: 123 Type 'CustomEvent' is not generic.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 18 A parameter initializer is only allowed in a function or constructor implementation.
[18:50:28] typescript: node_modules/@ionic/core/dist/types/utils/overlays.d.ts, line: 28 A parameter initializer is only allowed in a function or constructor implementation.
[18:50:28] typescript: node_modules/@ionic/core/node_modules/ionicons/dist/types/stencil.core.d.ts, line: 123 Type 'CustomEvent' is not generic.
[18:50:28] ionic-app-script task: "build" [18:50:28] Error: Failed to transpile program Error: Failed to transpile program `