Please help me!

Back to course
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #847

    vpndc
    Participant

    Please help me, the last step, the implementation of the web serve in addition to the wrong, is not configured?

    —————————————

    [23:27:41]  tslint: src/pages/reviewcourse/reviewcourse.ts, line: 1

    ‘OnInit’ is declared but never used.

     

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

    L2:  import { FormGroup,FormControl, Validators } from ‘@angular/forms’;

     

    [23:27:41]  tslint: src/components/friendlytime/friendlytime.ts, line: 1

    ‘OnInit’ is declared but never used.

     

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

    L2:  import { ConfigService } from ‘../../services/config’;

     

    [23:27:41]  tslint: src/components/friendlytime/friendlytime.ts, line: 1

    ‘Output’ is declared but never used.

     

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

    L2:  import { ConfigService } from ‘../../services/config’;

     

    [23:27:41]  tslint: src/components/friendlytime/friendlytime.ts, line: 1

    ‘EventEmitter’ is declared but never used.

     

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

    L2:  import { ConfigService } from ‘../../services/config’;

     

    [23:27:41]  tslint: src/components/question/question.ts, line: 252

    Duplicate variable: ‘correct’

     

    L251:  case ‘select’:

    L252:       var correct = this.question.correct.split(‘|’);

    L253:      if(correct.length){

     

    [23:27:41]  tslint: src/components/question/question.ts, line: 262

    Duplicate variable: ‘correct’

     

    L261:  case ‘textarea’:

    L262:      var correct = this.question.correct.split(‘|’);

    L263:      if(correct.length){

     

    [23:27:41]  tslint: src/components/question/question.ts, line: 1

    ‘OnInit’ is declared but never used.

     

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

     

    [23:27:41]  tslint: src/components/question/question.ts, line: 3

    ‘DragulaModule’ is declared but never used.

     

    L3:  import { DragulaModule,DragulaService } from ‘../../../node_modules/ng2-dragula/ng2-dragula’;

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 23

    ‘observable’ is declared but never used.

     

    L23:   private observable: Observable<any>;

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 25

    Property ‘http’ is declared but never used.

     

    L25:      constructor(private http:Http,

    L26:          private userService: UserService,

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 28

    Property ‘config’ is declared but never used.

     

    L27:  private storage: Storage,

    L28:  private config:ConfigService) {

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 1

    ‘OnInit’ is declared but never used.

     

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

    L2:  import { Http, Headers, Response, RequestOptions, URLSearchParams } from ‘@angular/http’;

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 2

    All imports are unused.

     

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

    L2:  import { Http, Headers, Response, RequestOptions, URLSearchParams } from ‘@angular/http’;

    L3:  import ‘rxjs/add/operator/map’;

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 6

    All imports are unused.

     

    L5:  import ‘rxjs/add/observable/of’;

    L6:  import { CacheService } from “ionic-cache”;

     

    [23:27:41]  tslint: src/services/quiz.ts, line: 11

    All imports are unused.

     

    L11:  import { Storage } from ‘@ionic/storage’;

     

    [23:27:41]  tslint: src/components/timer/timer.ts, line: 26

    Property ‘config’ is declared but never used.

     

    L26:    constructor(private quizService:QuizService,private config:ConfigService) {

     

    [23:27:41]  tslint: src/components/timer/timer.ts, line: 1

    ‘OnInit’ is declared but never used.

     

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

    L2:  import {Observable} from ‘rxjs/Rx’;

     

    [23:27:41]  tslint: src/components/timer/timer.ts, line: 1

    ‘OnChanges’ is declared but never used.

     

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

    L2:  import {Observable} from ‘rxjs/Rx’;

     

    [23:27:41]  tslint: src/models/status.ts, line: 1

    All imports are unused.

     

    L1:  import { Course } from ‘./course’;

    L2:  import { User } from ‘./user’;

     

    [23:27:41]  tslint: src/models/status.ts, line: 2

    All imports are unused.

     

    L1:  import { Course } from ‘./course’;

    L2:  import { User } from ‘./user’;

     

    [23:27:41]  tslint: src/services/status.ts, line: 30

    ‘quizobservable’ is declared but never used.

     

    L29:     private statusobservable: Observable<any>;

    L30:  private quizobservable: Observable<any>;

    L31:  private baseUrl;

    ———————————————

    cli packages: (/usr/local/node/6.11.3/lib/node_modules)

     

    @ionic/cli-utils  : 1.10.2

    ionic (Ionic CLI) : 3.10.3

     

    global packages:

     

    Cordova CLI : 7.0.1

     

    local packages:

     

    @ionic/app-scripts : 2.1.4

    Cordova Platforms  : android 6.2.3

    Ionic Framework    : ionic-angular 3.6.1

     

    System:

     

    Android SDK Tools : 25.2.5

    Node              : v6.11.3

    npm               : 3.10.10

    OS                : Linux 2.6

     

    #848

    vpndc
    Participant

    The last step, IONIC SERVE in addition to the wrong, is not configured?

    #855

    karolla
    Participant

    Same problem but no help lol.

    #1216

    WPLMS
    Keymaster

    Apologies for delayed response.


    @vpndc
    : The notices should not affect app execution. The app code updates will resolve all the notices. Please ignore the notices for now. Are you facing any errors or issues in Ionic serve. Please share a screenshot of the same.

     

    #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

    #1261

    Alex
    Keymaster

    Well above shared errors can be ignored ,there’s nothing found that can stop the execution of app
    Please try following this course : ” https://wplms.io/course/getting-started-with-wplms-mobile-app/ ” . Make sure that cliend id and site url is correctly set in app -> services -> config.ts file .
    Also try downloading a new app package from envato .

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.