Stranger compile error in ionic serve

Hi guyz! I have a stranger error when i added a Modal in my page.
I have a Page and i will try call another page by Modal. So put a code like this:

let modal = Modal.create(CadastroLoginComponent); console.log("Modal ", modal); this.navController.present(modal);
buuutt when i run ionic serve the terminal show me a error:

`TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/active_animation_players_map.d.ts(5,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/active_animation_players_map.d.ts(5,20): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(71,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(71,19): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(71,38): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(81,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(81,19): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(81,38): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(91,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(91,19): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/animation/metadata.d.ts(91,38): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(87,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(87,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(92,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(92,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(99,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(99,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(100,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(100,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(146,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(146,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(150,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(150,18): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(169,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(169,28): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(169,34): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(186,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(186,22): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(187,14): Error TS1005: ‘=’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(187,18): Error TS1005: ‘;’ expected.
TypeScript error: /Users/profsyst/Documents/Projetos/Autocuidado/mobile/trunk/node_modules/@angular/core/esm/src/application_ref.d.ts(190,14): Error TS1005: ‘=’ expected.
.
.
.

`

I think that happened because the ionic try to compile some internal js or somenthing like that, but i don’t know which js it try to compile.

Plx help me little friends :smiley:

PS:English isn’t my first language, so please excuse any mistakes