Skip to content

ionic v4.0.0-beta.0 Slides.update returns error  #15046

@jing-zhou

Description

@jing-zhou

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

wjz@bj:~/ion/ionic-conference-app$ ionic info

Ionic:

   ionic (Ionic CLI)          : 4.0.3 (/home/wjz/.nvm/versions/node/v10.7.0/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0-rc.9
   @ionic/schematics-angular  : 1.0.0-rc.9

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v10.7.0 (/home/wjz/.nvm/versions/node/v10.7.0/bin/node)
   npm               : 6.2.0
   OS                : Linux 4.4

Environment:

   ANDROID_HOME : /home/wjz/Android/Sdk
   HTTP_PROXY   : http://127.0.0.1:42266/
   http_proxy   : http://127.0.0.1:42266/
   HTTPS_PROXY  : http://127.0.0.1:42266/
   https_proxy  : http://127.0.0.1:42266/

wjz@bj:~/ion/ionic-conference-app$

Describe the Bug
A clear and concise description of what the bug is.

Steps to Reproduce
Steps to reproduce the behavior:

  1. from CLI, git clone ionic-conference-app ; go to /directoy/of/ionic-conference-app; checkout branch 'core-update'.
  2. from CLI, enter 'ionic s'
  3. go to browser (Chrome). the application started at 'http://localhost:8100'
  4. right click mouse in the brwoser, select 'inspect' to see the error
    screenshot from 2018-08-05 09-36-18
    update-error

Related Code
in 'tutorial.ts'

ionViewDidEnter() {
    this.slides.nativeElement.update();
  }

Expected Behavior
Slides.update should work without error

Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions