2017-04-19 5 views
0

Ich folgte nur ionic docs, um Ionic Deploy auf einer App einzurichten, aber ich erhalte immer noch diesen Fehler: Kann den Namen 'Deploy' nicht finden. Anweisungen befolgt: http://docs.ionic.io/services/deploy/ Mein Code in Hauptkomponente (app.component.ts):Ionic 2 Kann nicht gefunden werden Deploy

import { Component, ViewChild } from '@angular/core'; 
import { Deploy } from '@ionic/cloud-angular'; 
import { Nav, Platform } from 'ionic-angular'; 
import { StatusBar } from '@ionic-native/status-bar'; 
import { SplashScreen } from '@ionic-native/splash-screen'; 


import { HomePage } from '../pages/home/home'; 
import { EventPage } from '../pages/event/event'; 
import { LoginPage } from '../pages/login/login'; 
import { ProfilePage } from '../pages/profile/profile'; 

import { AuthService } from '../services/auth.service'; 
import { UpcomingEventsPage } from "../pages/upcoming-events/upcoming-events"; 
import { CoursesService } from "../services/courses.service."; 

@Component({ 
    templateUrl: 'app.html' 
}) 
export class MyApp { 
    @ViewChild(Nav) nav: Nav; 

    availableUpdate: boolean = false; 

    rootPage: any = HomePage; 
    loading: boolean = false; 

    pages: Array<{ title: string, component: any, params: any }>; 

    constructor(
     public platform: Platform, 
     public statusBar: StatusBar, 
     public splashScreen: SplashScreen, 
     public coursesService: CoursesService, 
     private authService: AuthService 
     ,public deploy: Deploy 
     ) { 
    this.initializeApp(); 

Antwort

1

Nur Voraussetzungen für die Installation: Winkelwolke.

Verwandte Themen