TypeError: Cannot read property 'get' of undafined


#1

property-get

Setting up the enviroment:

Ionic Info:

Cli  packages:
    
     @ionic/cli-utils: 1.19.1
     ionic(Ionic CLI): 3.19.1

System:

   Node: v6.11.2
   npm: 3.10.10
   OS: Windows 10

Misc:

   backend: pro

Angular - ng -v:

  Angular CLI: 1.7.4
  Node: 6.11.2
  OS: win32 x64

Couldn’t solve it so far? Can someone help me?


#2

if ( this.navParams ){
this.character = character[this.navParams.get(‘charNum’)];
}