Reply To: Please help me!

Back to course
#1258

Mike
Participant

Not able to see the screen in Browser , console throws the message  as follows

[10:17:48]  tslint: F:/ionic/test7/src/pages/instructors/instructors.ts, line: 2
All imports are unused.

L1:  import { Component, OnInit } from ‘@angular/core’;
L2:  import { FormControl } from ‘@angular/forms’;
L3:  import { NavController, NavParams, ModalController,LoadingController } from ‘ionic-angular’;

[10:17:48]  tslint: F:/ionic/test7/src/pages/instructors/instructors.ts, line: 7
All imports are unused.

L7:  import { CoursePage } from ‘../course/course’;
L8:  import { ProfilePage } from ‘../profile/profile’;

[10:17:48]  tslint: F:/ionic/test7/src/pages/instructors/instructors.ts, line: 11
All imports are unused.

L11:  import { InstructorBlock } from ‘../../components/instructorblock/instructorblock’;

[10:17:48]  tslint: F:/ionic/test7/src/pages/instructors/instructors.ts, line: 16
All imports are unused.

L15:  import { ConfigService } from ‘../../services/config’;
L16:  import { CourseService } from ‘../../services/course’;
L17:  import { UserService } from ‘../../services/users’;

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 33
Property ‘platform’ is declared but never used.

L32:  constructor(private config:ConfigService,
L33:      private platform: Platform,
L34:      private menuCtrl: MenuController,

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 38
Property ‘imgcacheService’ is declared but never used.

L37:          private storage:Storage,
L38:          private imgcacheService:ImgcacheService) {

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 1
‘OnInit’ is declared but never used.

L1:  import { Component, OnInit, ViewChild } from ‘@angular/core’;
L2:  import { App, Platform, NavController, MenuController, ModalController,LoadingController } from ‘ionic-angular’;

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 2
‘ModalController’ is declared but never used.

L1:  import { Component, OnInit, ViewChild } from ‘@angular/core’;
L2:  import { App, Platform, NavController, MenuController, ModalController,LoadingController } from ‘ionic-angul

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 5
All imports are unused.

L4:  //import { StatusBar, Splashscreen } from ‘ionic-native’;
L5:  import { StatusBar } from ‘@ionic-native/status-bar’;
L6:  import { SplashScreen } from ‘@ionic-native/splash-screen’;

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 6
All imports are unused.

L5:  import { StatusBar } from ‘@ionic-native/status-bar’;
L6:  import { SplashScreen } from ‘@ionic-native/splash-screen’;
L7:  import { Intro } from ‘../pages/intro/intro’;

[10:17:48]  tslint: F:/ionic/test7/src/app/app.component.ts, line: 14
All imports are unused.

L13:  import { ConfigService } from ‘../services/config’;
L14:  import { Storage } from ‘@ionic/storage’;
L15:  import { ImgcacheService } from ‘../services/imageCache’;

[10:17:48]  tslint: F:/ionic/test7/src/directives/lazy-load.directive.ts, line: 2
‘ElementRef’ is declared but never used.

L1:  import { Directive,
L2:           ElementRef,
L3:           EventEmitter,

[10:17:48]  tslint: F:/ionic/test7/src/directives/lazy-load.directive.ts, line: 6
‘OnInit’ is declared but never used.

L5:           Output,
L6:           OnInit, OnDestroy, Renderer2 } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/directives/lazy-load.directive.ts, line: 6
‘OnDestroy’ is declared but never used.

L5:           Output,
L6:           OnInit, OnDestroy, Renderer2 } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/directives/lazy-load.directive.ts, line: 6
‘Renderer2’ is declared but never used.

L5:           Output,
L6:           OnInit, OnDestroy, Renderer2 } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/elastic-header/elastic-header.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Directive, ElementRef, Renderer } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/elastic-header/elastic-header.ts, line: 1
‘Renderer’ is declared but never used.

L1:  import { Directive, ElementRef, Renderer } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/star-rating/star-rating.ts, line: 1
‘OnInit’ is declared but never used.

L1:  import { Component, OnInit, Input , Output, EventEmitter } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/star-rating/star-rating.ts, line: 1
‘Output’ is declared but never used.

L1:  import { Component, OnInit, Input , Output, EventEmitter } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/star-rating/star-rating.ts, line: 1
‘EventEmitter’ is declared but never used.

L1:  import { Component, OnInit, Input , Output, EventEmitter } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/avatarscrollzoomout/avatarscrollzoomout.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Directive, ElementRef, Renderer } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/avatarscrollzoomout/avatarscrollzoomout.ts, line: 1
‘Renderer’ is declared but never used.

L1:  import { Directive, ElementRef, Renderer } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/pipefilters.ts, line: 1
‘PipeTransform’ is declared but never used.

L1:  import { PipeTransform, Pipe, Injectable } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/match/match.ts, line: 9
Property ‘elementRef’ is declared but never used.

L9:    constructor(private elementRef: ElementRef) {

[10:17:48]  tslint: F:/ionic/test7/src/components/match/match.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/match/match.ts, line: 1
‘OnInit’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/fillblank/fillblank.ts, line: 8
Property ‘elementRef’ is declared but never used.

L8:    constructor(private elementRef: ElementRef) {

[10:17:48]  tslint: F:/ionic/test7/src/components/fillblank/fillblank.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/fillblank/fillblank.ts, line: 1
‘OnInit’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/select/select.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/components/select/select.ts, line: 1
‘OnInit’ is declared but never used.

L1:  import { Directive,ElementRef, OnInit } from ‘@angular/core’;

[10:17:48]  tslint: F:/ionic/test7/src/app/app.module.ts, line: 20
‘CameraOptions’ is declared but never used.

L19:  import { InAppBrowser } from ‘@ionic-native/in-app-browser’;
L20:  import { Camera, CameraOptions } from ‘@ionic-native/camera’;
L21:  //import { PhotoViewer } from ‘@ionic-native/photo-viewer’;

[10:17:48]  tslint: F:/ionic/test7/src/components/FormValidator.ts, line: 1
‘forwardRef’ is declared but never used.

L1:  import { Directive, forwardRef, Attribute } from ‘@angular/core’;
L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

[10:17:48]  tslint: F:/ionic/test7/src/components/FormValidator.ts, line: 1
‘Attribute’ is declared but never used.

L1:  import { Directive, forwardRef, Attribute } from ‘@angular/core’;
L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

[10:17:48]  tslint: F:/ionic/test7/src/components/FormValidator.ts, line: 2
‘Validator’ is declared but never used.

L1:  import { Directive, forwardRef, Attribute } from ‘@angular/core’;
L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

[10:17:49]  tslint: F:/ionic/test7/src/components/FormValidator.ts, line: 2
‘AbstractControl’ is declared but never used.

L1:  import { Directive, forwardRef, Attribute } from ‘@angular/core’;
L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

[10:17:49]  tslint: F:/ionic/test7/src/components/swipedtab/swipedtab.ts, line: 1
‘ElementRef’ is declared but never used.

L1:  import { Component, ElementRef, Input, Renderer } from ‘@angular/core’;
L2:  import { Slides,List, Item} from ‘ionic-angular’;

[10:17:49]  tslint: F:/ionic/test7/src/components/swipedtab/swipedtab.ts, line: 1
‘Renderer’ is declared but never used.

L1:  import { Component, ElementRef, Input, Renderer } from ‘@angular/core’;
L2:  import { Slides,List, Item} from ‘ionic-angular’;

[10:17:49]  tslint: F:/ionic/test7/src/components/swipedtab/swipedtab.ts, line: 2
All imports are unused.

L1:  import { Component, ElementRef, Input, Renderer } from ‘@angular/core’;
L2:  import { Slides,List, Item} from ‘ionic-angular’;
L3:  //import {List, Item} from ‘ionic/ionic’;

[10:17:49]  tslint: F:/ionic/test7/src/services/coursecategories.ts, line: 24
Property ‘config’ is declared but never used.

L23:  private http:Http,
L24:  private config:ConfigService) {

[10:17:49]  tslint: F:/ionic/test7/src/services/coursecategories.ts, line: 33
‘handleError’ is declared but never used.

L33:  private handleError(error: Response) {
L34:       console.log(error);

[10:17:49]  tslint: F:/ionic/test7/src/services/coursecategories.ts, line: 2
All imports are unused.

L1:  import { Injectable } from ‘@angular/core’;
L2:  import { Http, Headers, Response } from ‘@angular/http’;
L3:  import ‘rxjs/add/operator/map’;

[10:17:49]  tslint: F:/ionic/test7/src/validators/email.ts, line: 1
All imports are unused.

L1:  import { FormControl } from ‘@angular/forms’;

[10:17:49]  tslint: F:/ionic/test7/src/validators/username.ts, line: 1
All imports are unused.

L1:  import { FormControl } from ‘@angular/forms’;

[10:17:49]  lint finished in 14.51 s