These are chat archives for angular/angular-2-ionic-2

23rd
Nov 2018
Daniel Goncalves
@dan62
Nov 23 2018 07:38
Copy and paste the trace stack error code and your angular script
nextbyn
@nextbyn
Nov 23 2018 11:56
I/chromium: [INFO:CONSOLE(588)] "Uncaught SyntaxError: Unexpected identifier",
async revisa_sincro() {
}
async revisa_sincro() { < .....code....> }
this [async ] is the error that stop the page and showme this Uncaught SyntaxError
Daniel Goncalves
@dan62
Nov 23 2018 12:35
Mm are you thinning in ionic lab ?
Running *
nextbyn
@nextbyn
Nov 23 2018 12:36
ionic lab?

Ionic Info
Ionic:

ionic (Ionic CLI) : 4.0.0 (C:\Users\exe\AppData\Roaming\nvm\v8.11.2\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.2

System:

NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10`

Daniel Goncalves
@dan62
Nov 23 2018 12:37
I mean how are you running it ?
nextbyn
@nextbyn
Nov 23 2018 12:38
On my cellphone with the command >ionic cordova run android
Daniel Goncalves
@dan62
Nov 23 2018 12:38
Ionic lab helps in simulating for both android and iOS
But if it’s showing syntax error you probably making a mistake in the code
nextbyn
@nextbyn
Nov 23 2018 12:41
is not, when I remove this async/await in code the apps runs well
nextbyn
@nextbyn
Nov 23 2018 13:14
the bug is posted on github
ionic-team/ionic#16437
any help is apreciate