I’m working through the Groceries tutorial in the NativeScript playground. I’ve come to Step 12, Section f at the bottom of that step. When I try to activate the login() function which is attached to one of the buttons on the main screen, the NativeScript Preview app throws an error - ERROR: ERROR TypeError: this.userService.login is not a function. (In ‘this.userService.login(this.user)’, ‘this.userService.login’ is undefined)
As far as I can tell, I’ve copy/paste’d the example correctly. Preview App version 1.6.0; Runtime version 3.3.0; iPhone 6 Plus; iOS version 11.1.2.
Thanks very much for any help.