Olá Mestre, fiz e agora o erro é este:
C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar>ionic build android
> ionic-hello-world@ ionic:build C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar
> ionic-app-scripts build
[16:21:47] ionic-app-scripts 1.3.7
[16:21:47] build dev started ...
[16:21:47] clean started ...
[16:21:47] clean finished in 8 ms
[16:21:47] copy started ...
[16:21:47] transpile started ...
[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 20
Interface 'LocalForageDriver' incorrectly extends interface 'LocalForageDbMethods'. Types of property
'getItem' are incompatible. Type '(key: string, callback: (err: any, value: any) => void) => void' is not
assignable to type '{ <T>(key: string): Promise<T>; <T>(key: string, callback: (err: any, value: T) =>
void): void; }'.
L20: [16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 25
_suppor[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 100
t:[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 12
boole[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 53
an[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 53
|[16:22:00] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 111
Promise<boolean>;
All declarations of '_support' must have identical modifiers.
L24: getItem(key: string, callback: (err: any, value: any) => void): void;
L26: key(keyIndex: number, callback: (err: any, key: string) => void): void;
Duplicate identifier 'export='.
Subsequent variable declarations must have the same type. Variable 'version' must be of type 'string', but
here has type 'number'.
L12: description?: string;
Subsequent variable declarations must have the same type. Variable '_support' must be of type 'boolean |
Promise<boolean>', but here has type 'boolean | LocalForageDriverSupportFunc'.
L54: interface LocalForageSerializer {
All declarations of '_support' must have identical modifiers.
L54: interface LocalForageSerializer {
Duplicate identifier 'export='.
[16:22:00] ionic-app-script task: "build"
[16:22:00] Error: Failed to transpile program
Error: Failed to transpile program
at BuildError.Error (native)
at new BuildError (C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
at C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\transpile.js:137:20
at transpileWorker (C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\transpile.js:103:12)
at Object.transpile (C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\transpile.js:61:12)
at buildProject (C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\build.js:97:78)
at C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar\node_modules\@ionic\app-scripts\dist\build.js:47:16
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ionic-hello-world@ ionic:build: `ionic-app-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Giulliana\AppData\Roaming\npm-cache\_logs\2017-08-01T19_22_00_467Z-debug.log
C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar>ionic serve --lab
> ionic-hello-world@ ionic:serve C:\Estudos\Cursos\ionic alura\Ionic 2 # 1\projeto\aluraCar
> ionic-app-scripts serve "--v2" "--lab" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
[16:23:07] ionic-app-scripts 1.3.7
[16:23:07] watch started ...
[16:23:07] build dev started ...
[16:23:08] clean started ...
[16:23:08] clean finished in 5 ms
[16:23:08] copy started ...
[16:23:08] transpile started ...
[16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 20
Interface 'LocalForageDriver' incorrectly extends interface 'LocalForageDbMethods'. Types of property
'getItem' are incompatible. Type '(key: string, callback: (err: any, value: any) => void) => void' is not
assignable to type '{ <T>(key: string): Promise<T>; <T>(key: string, callback: (err: any, value: T) =>
void): void; }'.
L20: _support:[16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 25
boolean |
[16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/node_modules/@types/localforage/index.d.ts, line: 100
Promise<boolean>;
All declarations of '_support' must have identical modifiers.
L24: getItem(key: string, callback: (err: any, value: any) => void): void;
L26: key(keyIndex: number, callback: (err: any, key: string) => void): void;
Duplicate identifier 'export='.
[16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 12
Subsequent variable declarations must have the same type. Variable 'version' must be of type 'string', but
here has type 'number'.
L12: [16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 53
description?: string;
Subsequent variable declarations must have the same type. Variable '_support' must be of type 'boolean |
Promise<boolean>', but here has type 'boolean | LocalForageDriverSupportFunc'.
L54: interface LocalForageSerializer {
[16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 53
All declarations of '_support' must have identical modifiers.
L54: [16:23:16] typescript: ...ic alura/Ionic 2 # 1/projeto/aluraCar/src/typings/globals/localforage/index.d.ts, line: 111 interface L
ocalForageSerializer {
Duplicate identifier 'export='.
[16:23:16] dev server running: http://localhost:8100/
[16:23:18] copy finished in 10.36 s
[16:23:18] watch ready in 10.68 s