Hello,
Not able to upload the app .Getting below error after running command ionic upload
[22:59:08] build dev started ...
[22:59:08] clean started ...
[22:59:08] clean finished in 1 ms
[22:59:08] copy started ...
[22:59:08] deeplinks started ...
[22:59:08] deeplinks finished in 87 ms
[22:59:08] transpile started ...
[22:59:10] typescript: src/data/quotes.ts, line: 4
Type '{ category: string; quotes: { id: string; person: string; text: string; }[]; icon: string; }[]' is not
assignable to type '{ category: string; Quotes: quote[]; icon: String; }[]'. Type '{ category: string;
quotes: { id: string; person: string; text: string; }[]; icon: string; }' is not assignable to type '{
category: string; Quotes: quote[]; icon: String; }'. Object literal may only specify known properties, and
'quotes' does not exist in type '{ category: string; Quotes: quote[]; icon: String; }'.
L3: category: 'inspirational',
L4: quotes: [
Error: Failed to transpile program
at BuildError.Error (native)
at new BuildError (/Users/shrivallabhdeshmukh/Desktop/Study/ionic 2 udemy/favQuotesTabsCli/favQuotesApp/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at /Users/shrivallabhdeshmukh/Desktop/Study/ionic 2 udemy/favQuotesTabsCli/favQuotesApp/node_modules/@ionic/app-scripts/dist/transpile.js:159:20
at transpileWorker (/Users/shrivallabhdeshmukh/Desktop/Study/ionic 2 udemy/favQuotesTabsCli/favQuotesApp/node_modules/@ionic/app-scripts/dist/transpile.js:107:12)
at Object.transpile (/Users/shrivallabhdeshmukh/Desktop/Study/ionic 2 udemy/favQuotesTabsCli/favQuotesApp/node_modules/@ionic/app-scripts/dist/transpile.js:64:12)
at /Users/shrivallabhdeshmukh/Desktop/Study/ionic 2 udemy/favQuotesTabsCli/favQuotesApp/node_modules/@ionic/app-scripts/dist/build.js:106:82
Please check my ionic information below
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
local packages:
@ionic/app-scripts : 3.0.0
Ionic Framework : ionic-angular 3.7.1
System:
Node : v6.11.2
npm : 3.10.10
OS : macOS Sierra
Misc:
backend : legacy
Pleas help .Thanks in Advance